Conversion to Dalvik format failed: Unable to execute dex: GC overhead limit exceeded

在编译的时候出现eclipse 错误。

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

你可能感兴趣的:(Conversion to Dalvik format failed: Unable to execute dex: GC overhead limit exceeded)