Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/399.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/214.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
任务';的执行失败:app:javaCompileDebug';_Java_Android - Fatal编程技术网

任务';的执行失败:app:javaCompileDebug';

任务';的执行失败:app:javaCompileDebug';,java,android,Java,Android,我最近回到了android studio中的一个应用程序,它在android studio 2.3.3上运行良好,但今天早上当我被提示更新到studio 3.0时,我的模块无法运行。我尝试过清理和重建,但当我尝试在设备上运行时,构建失败,并出现以下错误: Error:Execution failed for task ':app:javaPreCompileDebug'. Annotation processors must be explicitly declared now. The fo

我最近回到了android studio中的一个应用程序,它在android studio 2.3.3上运行良好,但今天早上当我被提示更新到studio 3.0时,我的模块无法运行。我尝试过清理和重建,但当我尝试在设备上运行时,构建失败,并出现以下错误:

Error:Execution failed for task ':app:javaPreCompileDebug'.
Annotation processors must be explicitly declared now.  The following 
dependencies on the compile classpath are found to contain annotation 
processor.  Please add them to the annotationProcessor configuration.
- androidannotations-4.0.0.jar (org.androidannotations:androidannotations:4.0.0)
Alternatively, set android.defaultConfig.javaCompileOptions.annotationProcessorOptions.includeCompileClasspath = true to continue with previous behavior.  Note that this option is deprecated and will be removed in the future.
See https://developer.android.com/r/tools/annotation-processor-error-message.html for more details.
我对android注释一无所知,这就是为什么我在这里这么问的原因


谢谢

在做了一些研究之后,我找到了

在做了一些研究之后,我找到了