Android:Maven 与 ADT 14 出现问题

发布于 2024-12-11 16:20:42 字数 347 浏览 0 评论 0原文

最近我将 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技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

鸠魁 2024-12-18 16:20:42

这看起来像是 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文