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啦~~(>_<)~~

更多相关文章

  1. cocos2d-x 编译成android apk常见错误
  2. Android错误总结
  3. Android camera调用出现错误解决方法
  4. Android Studio常见错误及解决方法汇总
  5. Cocos2d-x 3.2编译Android程序错误的解决方案
  6. Android上的OpenGL ES 使用错误 解决
  7. Android Studio NDK及so文件开发 以及常见错误
  8. android 中 unable to start service 错误解决方法

随机推荐

  1. Android(安卓)3D翻转效果实践
  2. Handler 总结
  3. Android(安卓)中 ListView 控件的使用
  4. ida android incompatible debugger serv
  5. Android(安卓)Studio报Element XXXX must
  6. android 用LruCache读取大图片并缓存
  7. 从J2EE转向Android的第一天
  8. ionic应用的Android打包签名发布步骤
  9. android 好看的自定义日历
  10. Android(安卓)获取局域网内网IP地址