1.首先将module的删除
apply plugin: 'android-apt'
2.将之前的dependencies的依赖换成
implementation 'com.jakewharton:butterknife:8.6.0'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.6.0'
3. 在AS的插件设置里面找到点击量最多的 butterknife 最后重启一下,就解决了
1.首先将module的删除
apply plugin: 'android-apt'
2.将之前的dependencies的依赖换成
implementation 'com.jakewharton:butterknife:8.6.0'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.6.0'
3. 在AS的插件设置里面找到点击量最多的 butterknife 最后重启一下,就解决了