5

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

Community
  • 1
  • 1
dylan murphy
  • 1,370
  • 1
  • 18
  • 33

4 Answers4

8

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.

Jiju Induchoodan
  • 4,236
  • 1
  • 22
  • 24
4

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.

Box
  • 2,432
  • 1
  • 18
  • 20
3

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

Jonathan Spooner
  • 7,682
  • 2
  • 34
  • 41
siva
  • 31
  • 1
2

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.

Thiru
  • 1,380
  • 13
  • 21