升级Android Studio3.0 Error:A problem occurred configuring project ':app'. > android-apt plugin is inc
来源:互联网 发布:md5解密java代码 32位 编辑:程序博客网 时间:2024/06/06 07:07
Error:A problem occurred configuring project ':app'.> android-apt plugin is incompatible with the Android Gradle plugin. Please use 'annotationProcessor' configuration instead.
原因
原来项目里使用的是android-apt生成编译时注解的方式,但是我使用的是Android studio3.0,Gradle已经和这个不兼容了。
解决方法
把Project的build.gradle的 classpath‘com.neenbedankt.gradle.plugins:android-apt:1.8’
删除,
再把app的build.gradle的 apply plugin: ‘com.neenbedankt.android-apt’
删除,
然后把dependencies中原来使用apt的改为annotationProcessor
重新sync Project。
阅读全文
0 0
- 升级Android Studio3.0 Error:A problem occurred configuring project ':app'. > android-apt plugin is inc
- Error:A problem occurred configuring project ':app'.
- Error:A problem occurred configuring project ':app'.
- Android studio : Error:Gradle: A problem occurred configuring project
- Error:(1, 1) A problem occurred evaluating project ':app'. > Failed to apply plugin [id 'com.android
- Error:(1, 1) A problem occurred evaluating project ':app'. > Failed to apply plugin [id 'com.android
- ReactNative android 之 (A problem occurred configuring project 'app'.异常)
- react-native run-android报错A problem occurred configuring project ':app'. > SDK location not found
- react-native 启动android项目失败:A problem occurred configuring project ':app'.
- Error:A problem occurred configuring project ':app'. > failed to find Build
- Error:A problem occurred configuring project ':app'. > Could not resolve all
- ionic打包apk报错问题A problem occurred configuring root project 'android'.
- 解决Studio3.0 Dagger2注入Error:android-apt plugin不兼容的问题
- 解决Studio3.0 Dagger2注入Error:android-apt plugin不兼容的问题
- A problem occurred configuring project ':app'. > failed to find Build Tools revision 23.0.1
- rn 启动项目失败:A problem occurred configuring project ':app'. (二)
- what went wrong: A problem occurred configuring project ':app' The SDK directory 'D:\android_sdk' do
- Android Studio3.0 apt 配置
- TensorFlow详细安装入门图文教程!
- testkjl asjd jasjflksjfja
- 论老与不老的标准
- MQ的前世今生
- Hive优化及优化实例
- 升级Android Studio3.0 Error:A problem occurred configuring project ':app'. > android-apt plugin is inc
- 斯皮尔曼等级相关(Spearman Rank Correlation)
- vue-cli build目录详解
- 在 Asp.net core 2.0 的Web Api 添加logging
- 171103 修改Matlab默认起始目录
- 知识点小结
- java字符串拼接
- Spring处理器(Controller)全局建言
- 枚举--案例(百钱买百鸡问题)