可以到这个网站搜索相关的jar:https://search.maven.org/artifact/com.jakewharton/butterknife
如果自己懒到下载,我这边有提供我弄好到直接使用:https://download.csdn.net/download/hknishi_zs/12850205
需要使用离线开发greendao参考:https://blog.csdn.net/hknishi_zs/article/details/108532013
下图是我采集好的butterknife.jar:
如何使用参照下图一次进行 ,代码附加于最下面:
代码:
implementation(name: 'butterknife-10.2.3', ext: 'aar')
implementation(name: 'butterknife-runtime-10.2.3', ext: 'aar')
implementation files('libs/butterknife-annotations-10.2.3.jar')
implementation files('libs/butterknife-compiler-10.2.3.jar')
implementation files('libs/guava-24.0-jre.jar')
implementation files('libs/incap-0.2.jar')
implementation files('libs/javapoet-1.10.0.jar')
implementation files('libs/auto-common-0.10.jar')
apply plugin: 'com.jakewharton.butterknife'
classpath fileTree(includes:['*.jar'],dir:'butterknife')