AndroidStudio3.0中出现Annotation processors must be explicitly declared now.的错误
程序员文章站
2022-04-04 21:22:25
报错
在androidstudio3.0中导入androidstudio3.0之前的工程出现 annotation processors must be explicitly declared no...
报错
在androidstudio3.0中导入androidstudio3.0之前的工程出现 annotation processors must be explicitly declared now.的错误
原因
解决方法
在build.gradle中进行如下配置
android { ... defaultconfig { //添加以下配置 javacompileoptions {
annotationprocessoroptions { includecompileclasspath = true }
} } }
上一篇: 雷军在故宫发布滑盖全面屏手机MIX3 售价3299元起
下一篇: 穷逼就别谈什么佛系了
推荐阅读
-
butterknife使用出现Annotation processors must be explicitly declared now.
-
Android Studio错误日志-注解报错Annotation processors must be explicitly declared now.
-
AndroidStudio3.0中出现Annotation processors must be explicitly declared now.的错误
-
butterknife使用出现Annotation processors must be explicitly declared now.
-
Android Studio错误日志-注解报错Annotation processors must be explicitly declared now.
-
AndroidStudio3.0中出现Annotation processors must be explicitly declared now.的错误