Domanda

I am using amazon jar files in android project. I get error, while running android projects :

Dex Loader] Unable to execute dex: GC overhead limit exceeded
 Conversion to Dalvik format failed: Unable to execute dex: GC overhead limit exceeded.
È stato utile?

Soluzione

It can be fixed by changing the VM values in Eclipse.ini. Set the values to 512 and 1024 as below:

openFile
--launcher.XXMaxPermSize
512M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
512m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms512m
-Xmx1024m
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top