Hello World“转换为 Dalvik 格式失败”
我在 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
尝试此处找到的内容。
就是否是重复问题而言,这是一个非常灰色的区域。如果您点击@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!
我要关闭这个问题,因为我找到了解决方案: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.