类型转换为 Dalvik 格式失败:无法执行 dex:包装器未首先正确加载
当我在 Eclipse 中使用 Android SDK 和 AVD Manager 时,我遇到过各种奇怪的错误,就像标题中的错误一样。一般来说,我只是拔掉手机插头,然后重新插入,或者关闭并重新打开 Eclipse,但这很令人沮丧。显然 转换为 Dalvik 格式失败:无法执行 dex:首先未正确加载包装器
不允许我编译我的应用程序,我认为这是因为我试图运行模拟器并提供一些建议从模拟器太慢无济于事。我想我应该添加在 Ubuntu 11.04 上运行 eclipse 3.5.2
I have had all sorts of bizarre errors, like the one in the title, happen when I am using the Android SDK and AVD Manager with Eclipse. Generally I just unplug the phone and plug it back in or close and reopen Eclipse but it is frustrating. Apparently Conversion to Dalvik format failed: Unable to execute dex: wrapper was not properly loaded first
doesn't allow me to compile my app, i think it is because I was trying to run the emulator with some suggestions from emulator is so slow to no avail. thought i should add im running eclipse 3.5.2 on Ubuntu 11.04
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
只需重新启动 eclipse 并运行项目即可。安装新目标版本时出现错误。安装完成后会自动修复。否则重新启动 Eclipse。
Just restart the eclipse and run the project. The error arises while installing a new target version. After completion of the installation it will get fix automatically. Else restart eclipse.
我在 Macbook 上遇到了同样的错误。我尝试了此链接中解释的方法之一 http ://techmologies.blogspot.com/2009/05/conversion-to-dalvik-format-failed-with_06.html并解决了问题。
将以下2行放入eclipse.ini文件中:
请根据实际情况修改第2行。
I met with the same error on my Macbook. I tried one of the methods explained at this link http://techmologies.blogspot.com/2009/05/conversion-to-dalvik-format-failed-with_06.html and solved the problem.
Put the following 2 lines in the eclipse.ini file:
Please modify the 2nd line according to the actual situation.
如果您已升级 SDK,并且尚未更新 ADT 插件,则会显示此错误。请更新ADT插件检查一次
If you have upgraded your SDK, and if you have not updated ADT plugin it will show this error. Please check it once by updating ADT plugin
我在不同的文件夹(具有相同的 SDK 文件夹)中重新安装了 Eclipse,并将代码导入到工作区和目录中。它又开始工作了。
I made a new installation of Eclipse in different folder(with the same SDK folder) and imported the code to the workspace & it started to work again.