试了各个版本,就8.8.1可用。其他版本不知为什么总是报各种错误。8.8.1配置起来也很方便。
在module.gradle添加以下两句即可。
dependencies {
。。。
implementation 'com.jakewharton:butterknife:8.8.1'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
}
本文分享了ButterKnife 8.8.1版本的成功使用经验,指出此版本相较于其他版本更为稳定且配置简便。在module.gradle中加入特定依赖即可轻松实现注解处理。
试了各个版本,就8.8.1可用。其他版本不知为什么总是报各种错误。8.8.1配置起来也很方便。
在module.gradle添加以下两句即可。
dependencies {
。。。
implementation 'com.jakewharton:butterknife:8.8.1'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
}

被折叠的 条评论
为什么被折叠?