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

- 1
- 1

- 1,370
- 1
- 18
- 33
4 Answers
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.

- 4,236
- 1
- 22
- 24
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.

- 2,432
- 1
- 18
- 20
-
will that still work on linux? i honestly don't even know what folder eclipse is in, once i find it i will try your suggestion. – dylan murphy Jun 14 '11 at 03:29
-
You can use the "find" command like this: find / -name eclipse – Box Jun 14 '11 at 23:35
-
Worked for me after adding _...\jdk1.7.0\..._. – Jace Browning Aug 03 '11 at 13:06
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

- 7,682
- 2
- 34
- 41

- 31
- 1
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.

- 1,380
- 13
- 21