- android studio 升级到2.3 不支持apt
- android studio 3.1 升级gradle4.4时所
- Android Studio升级到2.3之后无限转圈的问题
- Android Studio 2.2 升级到 2.3报错文章
- SolveProblems-小米手机不能直接运行Android
- Android3.0打包出现:Could not get unk
- Could not find com.android.tools
- 关于 Installation failed with mess
- Error:Unable to load class '
- Could not resolve com.android.su
android studio 升级到2.3以后提示:
Warning:Using incompatible plugins for the annotation processing: android-apt. This may result in an unexpected behavior.
原因:
android studio 2.3以后不支持 apt
解决方式:
把项目中build.gradle中的 apply plugin: ‘com.neenbedankt.android-apt’
删掉。
dependencies下所有apt的引用
dependencies {
apt ‘com.jakewharton:butterknife-compiler:8.8.1’
}
全部换成
dependencies {
annotationProcessor ‘com.jakewharton:butterknife-compiler:8.8.1’
}
网友评论