Android:Maven 与 ADT 14 出现问题
最近我将 Android SDK 更新到 14.0.0
环境:Ubuntu 10.04,Eclipse Helios。
项目目标是8(Android 2.2)
在我的项目中我使用maven。然后我尝试构建项目,但出现下一个错误: “转换为 Dalvik 格式失败,错误 1”
然后 maven 接下来说:“无法创建空的 APKBuilder 对象”
但是,如果我在没有 maven 的情况下创建 Android 项目 - 一切都可以。
更新:
清洁项目对我没有帮助
recently I update my Android SDK to 14.0.0
Environment: Ubuntu 10.04, Eclipse Helios.
The project target is 8 (Android 2.2)
In my project I use maven. Then I try to build project i get next error:
"Conversion to Dalvik format failed with error 1"
And the maven said next: "Cannot create the APKBuilder object null"
BUT, if i create Android project without maven - all OK.
UPDATE:
The cleaning project don't help me
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
![扫码二维码加入Web技术交流群](/public/img/jiaqun_03.jpg)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这看起来像是 Android M2E 连接器的一个已知问题:
请参见此处:
https://github。 com/rgladwell/m2e-android/issues/45
和此处:
http://code.google.com/p/android/issues/detail?id=21031
看起来 ADT 15 和最新的 Android M2E 连接器已修复此
问题使用 m2e android 连接器网站上提供的说明升级到最新的 ADT 15 和 Android M2E 连接器。
This looks like a known issue with the Android M2E Connector:
See here:
https://github.com/rgladwell/m2e-android/issues/45
and here:
http://code.google.com/p/android/issues/detail?id=21031
It looks like there is a fix for it with ADT 15 and the latest Android M2E Connector
Try to upgrade to the latest ADT 15 and Android M2E Connector using the instructions provided here on the m2e android connector site.