标签:unable to execute de conversion to dalvik gc overhead limit ex 异常解决
在运行工程的时候,Eclipse长时间停留在100%那个进度。 最后报错
Unable to execute dex: GC overhead limit exceeded
Conversion to Dalvik format failed: Unable to execute dex: GC overhead limit exceeded
解决方案: 设置Xms为512 和1024 在eclipse的目录下的eclipse.ini文件中改
openFile --launcher.XXMaxPermSize 512M -showsplash org.eclipse.platform --launcher.XXMaxPermSize 512m --launcher.defaultAction openFile -vmargs -Dosgi.requiredJavaVersion=1.5 -Xms512m -Xmx1024m
最近做厂商适配,厂商提供了一部分Framework的jar包,把jar包通过Add Jar放到Build Path中, 在生成APK过程中,Eclipse长时间停留在100%那个进度。将厂商的Jar 添加user Library,并把as system Library选上,并引入工程: 建立User Library:Windows->Preference->Java->Build Path->User Library,
New and Add Jars 添加User Library 到工程:Project->Properties->Java Build Path->Libraries->Add Library->User Library Build 运行正常了。
版权声明:本文为博主原创文章,未经博主允许不得转载。
Conversion to Dalvik format failed: Unable to execute dex: GC overhead limit exceeded异常解决
标签:unable to execute de conversion to dalvik gc overhead limit ex 异常解决
原文地址:http://blog.csdn.net/pcaxb/article/details/48001323