Error:android-apt plugin is incompatible with the Android Gradle plugin. Please use 'annotationProc
来源:互联网 发布:下载在线视频的软件 编辑:程序博客网 时间:2024/06/06 00:17
在AndroidStudio更新到3.0之后发现上面的配置不能用了,这里记录下解决方法
- 首先把项目下的build.gradle中的classpath ‘com.neenbedankt.gradle.plugins:android-apt:1.8’删掉
- 把module下面的build.gradle最上面引入的插件删掉,不管是下面这两个中的哪一个,都删掉
- apply plugin: ‘com.neenbedankt.android-apt’
- apply plugin: ‘android-apt
在module下的build.gradle中的依赖修改为
// butterknife 组件注入implementation 'com.jakewharton:butterknife:8.6.0'annotationProcessor 'com.jakewharton:butterknife-compiler:8.6.0'
经过这三步就可以了
阅读全文
0 0
- Error:android-apt plugin is incompatible with the Android Gradle plugin. Please use 'annotationProc
- Error:android-apt plugin is incompatible with the Android Gradle plugin. Please use 'annotationProc
- Android开发:Error:android-apt plugin is incompatible with the Android Gradle plugin. Please use 'anno
- android-apt plugin is incompatible with the Android Gradle plugin. Please use 'annotationProcessor'
- Warning:android-apt plugin is incompatible with future version of Android Gradle plugin. Please use
- android-apt plugin is incompatible with future version of Android Gradle plugin. use 'annotationPro
- android Error running app: This version of Android Studio is incompatible with the Gradle Plugin use
- Android studio更新后项目报错Error:android-apt plugin is incompatible with the Android Gradle plugin. Pleas
- 解决Warning:android-apt plugin is incompatible with future version of Android Gradle plugin.
- Warning:android-apt plugin is incompatible with future version of Android Gradle plugin
- Android Studio Build Error : This version of Android Studio is incompatible with the Gradle Plugin u
- Android 解决Error running app: This version of Android Studio is incompatible with the Gradle Plugin
- Android Studio Build Error : This version of Android Studio is incompatible with the Gradle Plugin u
- Error running example: This version of Android Studio is incompatible with the Gradle Plugin used.解决
- Error running app: This version of Android Studio is incompatible with the Gradle Plugin used. Try
- Error running app: This version of Android Studio is incompatible with the Gradle Plugin used.
- Error running app: This version of Android Studio is incompatible with the Gradle Plugin used.
- Error running app: This version of Android Studio is incompatible with the Gradle Plugin used. Try
- 【C#】正则表达式
- qml学习笔记(六):可视化元素Text、Window
- C语言标准库函数qsort那点小事———转载而来
- 第十一周项目4(1)-利用遍历思想求解图问题
- java 做一个真的进度条去实时获取方法进行状态
- Error:android-apt plugin is incompatible with the Android Gradle plugin. Please use 'annotationProc
- BSTR与std::string相互转换
- 最近在研究 apple 的homekit accessory protocol(HAP) None Commercial Version
- 第十一周项目三
- Android——通过包名唤醒app,通过链接唤醒迅雷下载文件。
- * &
- 9.内部类
- 【C#】异常处理
- table构造式嵌套