AndroidStudio3.0中出现Annotation processors must be explicitly declared now.的错误
程序员文章站
2022-07-23 22:51:46
报错
在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 }
} } }
推荐阅读
-
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.的错误