Hello World“转换为 Dalvik 格式失败”

发布于 2024-10-08 21:59:12 字数 432 浏览 0 评论 0原文

我在 10.6.5 上安装了以下开发环境:

  • Eclipse SDK 3.6.1
  • Android SDK Tools r8
  • Android SDK Platform-tools r1
  • Android SDK 2.2
  • Android SDT 8.0.1

然后当我创建 Hello World 我收到错误:

转换为 Dalvik 格式失败,错误 1

I已经尝试了一切,因为过去由于多种原因出现了此错误,但我仍然遇到同样的问题。

提前致谢

I've installed the following development environment on my 10.6.5:

  • Eclipse SDK 3.6.1
  • Android SDK Tools r8
  • Android SDK Platform-tools r1
  • Android SDK 2.2
  • Android SDT 8.0.1

Then when I create the Hello World I get the error:

Conversion to Dalvik format failed with error 1

I have tried everything, since this error has appeared in the past for many reasons, but I still have the same problem.

Thanks in advance

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

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

评论(2

血之狂魔 2024-10-15 21:59:12

尝试此处找到的内容。

就是否是重复问题而言,这是一个非常灰色的区域。如果您点击@unhillbilly 提供的链接,您会发现有许多涉及同一主题的问题,但有不同的微妙之处和差异。目前还有 40 个其他问题涵盖同一主题,unhillbilly 的观点是,当重复和类似的问题减少或消除时,这个社区效果最好,让我们新手更容易找到我们需要的答案,避免我们的问题被拉扯。沮丧得头发都掉了。很可能您不会找到您正在寻找的确切内容,但您会发现大量可以让您朝着正确的方向前进,而无需询问。

快乐编码!

Try what is found here.

This is a very grey area as far as whether or not it is a duplicate question. If you follow the link provided by @unhillbilly you will see that there are many questions covering the same topic, with varying subtleties and variances. Currently there are 40 other questions covering the same subject, the point that unhillbilly is making is that this community works best when duplicate and similar questions are reduced or eleminated, makes it easier for us newbies to find the answers we need to keep from pulling our hair out in frustration. Likely as not, you will not find exactly what you are looking for, but you will find plenty to get you going in the right direction with out having to ask.

Happy coding!

小耗子 2024-10-15 21:59:12

我要关闭这个问题,因为我找到了解决方案:Netbeans!

我花了很多时间尝试使用 Eclipse 编译 Android Hello World 示例。我决定尝试 Netbeans,它确实有效。

我现在即将完成我的项目,我可以向您保证 Netbeans 非常适合为 Android 平台进行开发。希望它对任何对 Eclipse 和 Android 不满意的人有所帮助。我已经使用 Eclipse 来开发 C++/Linux、PHP...,没有像这样的难题。

I'm going to close this issue because I found a solution: Netbeans!!

I lost many hours trying to compile the Android Hello World example with Eclipse. I decided to try Netbeans and it just worked.

I'm close to finish my project now and I can assure you that Netbeans is perfect to develop for Android platform. Hope it helps to anyone who is unhappy with Eclipse and Android. I have used Eclipse to develop with C++/Linux, PHP....no hard issues like this one.

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