When I try to run my project on my Android device, I get the error message "Conversion to Dalvik format failed: Unable to execute dex: Java heap space" . I imported the project from another computer, where it worked correctly.
I was in Failed to convert the Dalvik format: failed to execute dex: Java heap space and tried to increase -XmsAm and -XmxBm , but as the values ββincrease, the problems continue until Eclipse starts up, or I get an error message: "Dex Loader] Unable to execute dex: Cannot handle conversion to jumbo index!"
Does anyone know alternative solutions?
Edit: I tried to create a new project and copy / paste all the files from the imported project and now get a new error. When I run it, I get the error: "Installation error: INSTALL_FAILED_DEXOPT"
Logcat says the following:
11-08 15:14:31.317: E/dalvikvm(3041): ERROR: Can't byte swap: bad dex version (0x30 33 36 00) 11-08 15:14:31.317: E/dalvikvm(3041): ERROR: Byte swap + verify failed 11-08 15:14:31.317: E/dalvikvm(3041): Optimization failed 11-08 15:14:31.325: E/installd(1059): dexopt failed on '/data/dalvik-cache/ data@app @ vmdl28652.tmp@classes.dex ' res = 65280 11-08 15:14:33.083: E/AndroidRuntime(3035): ERROR: thread attach failed
Is anyone perhaps familiar with this error or should open a new thread for it?
source share