您的位置:首页 > 移动开发 > Android开发

android studio 接入androidannotations compileDebugJavaWithJavac错误解决

2015-12-31 17:08 411 查看

android studio 接入androidannotations compileDebugJavaWithJavac错误解决

Android studio 1.5.1(64bit),gradle:1.5.0

错误信息

Could not find the AndroidManifest.xml file, going up from path [D:\YouAppPath\app\build\generated\source\apt\debug] found using dummy file [] (max atempts: file:///D:/YouAppPath/app/build/generated/source/apt/debug/dummy1451551775730)



Execution failed for task ‘:app:compileDebugJavaWithJavac’.

Compilation failed; see the compiler error output for details.

解决办法

文件build.gradle

apt {
arguments {
androidManifestFilevariant.outputs[0]?.processResources?.manifestFile
}
}


apt{…}没写补上;

…outputs[0]?.processResources?….问号没写补上;

(^__^) 嘻嘻……

因为没写‘?’纠结了很久,官方的module没有‘?’导入运行没问题,自个新建就Error啦~~(>_<)~~
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息