试了各个版本,就8.8.1可用。其他版本不知为什么总是报各种错误。8.8.1配置起来也很方便。
在module.gradle添加以下两句即可。
dependencies {
。。。
implementation 'com.jakewharton:butterknife:8.8.1'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
}
试了各个版本,就8.8.1可用。其他版本不知为什么总是报各种错误。8.8.1配置起来也很方便。
在module.gradle添加以下两句即可。
dependencies {
。。。
implementation 'com.jakewharton:butterknife:8.8.1'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
}