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(安卓)resource compilation failed( com.android.suppor
  3. Android(安卓)Glide设置图片圆角,亲测有效
  4. Android错误总结
  5. 【Android策略】The content of the adapter has changed but Li
  6. android 银联支付接入报nullexception异常
  7. Android(安卓)camera调用出现错误解决方法
  8. Android(安卓)Studio常见错误及解决方法汇总
  9. Android(安卓)Studio NDK及so文件开发 以及常见错误

随机推荐

  1. Android studio -SVN 使用笔记
  2. Android直接执行shell命令
  3. Android之通过ContentProvider共享文件
  4. Android Studio选择默认运行build varian
  5. android byte[]数组,bitmap,drawable之间的
  6. VirtualAPK 报错: Failed to notify proje
  7. Android 文件瀏覽器
  8. xml
  9. Android之ExpandableList使用
  10. Android设置系统音量范围0-100,步进值5