无法执行DEX:GC开销超过限制在Eclipse
当我下载了Git项目 OsmAnd ,然后去编译它, Eclipse的返回这些错误:
When I downloaded the Git project OsmAnd and went to compile it, Eclipse returned these errors:
[Dex Loader] Unable to execute dex: GC overhead limit exceeded
[OsmAnd] Conversion to Dalvik format failed:
Unable to execute dex: GC overhead limit exceeded
谷歌和#1说我必须改变 -Xms40m
-Xmx384m
在蚀。 INI
。
Conversion到的Dalvik格式失败:无法执行DEX:Java的堆空间
我清理项目,并重新启动Eclipse的,但它并没有帮助。
Google and Stackoverflow said that I must change -Xms40m
-Xmx384m
in eclipse.ini
.
Conversion to Dalvik format failed: Unable to execute dex: Java heap space.
I cleaned project and restarted Eclipse, but it did not help.
我发现此链接:Tips对于Android开发者:转换到的Dalvik格式失败:无法执行DEX:空
但我不知道要更改输入,的.jar
从我的项目。
如果有人可以帮助,我可以把这个项目给他们。
I found this link: Tips for Android developer: "Conversion to Dalvik format failed: Unable to execute dex: null"
But I do not know which .jar
from my project to change the input in.
If anyone can help, I can send the project to them.
它可以固定在的eclipse.ini改变VM值。值设置为512和1024,如下:
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.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms512m
-Xmx1024m
变化的区域图像
The changed area in image