Type Conversion to Dalvik format failed: Unable to

2019-06-22 08:12发布

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

4条回答
放荡不羁爱自由
2楼-- · 2019-06-22 08:14

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:

-vm
C:\Program Files\Java\jdk1.6.0_07\bin\javaw.exe

Please modify the 2nd line according to the actual situation.

查看更多
淡お忘
3楼-- · 2019-06-22 08:29

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

查看更多
别忘想泡老子
4楼-- · 2019-06-22 08:30

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.

查看更多
我只想做你的唯一
5楼-- · 2019-06-22 08:31

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.

查看更多
登录 后发表回答