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.
有帮助吗?

解决方案

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
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top