Unable to execute dex: GC overhead limit exceeded
生活随笔
收集整理的这篇文章主要介绍了
Unable to execute dex: GC overhead limit exceeded
小编觉得挺不错的,现在分享给大家,帮大家做个参考.
Android打包时下面的错误: Unable to execute dex: GC overhead limit exceeded GC overhead limit exceeded 解决的方法: 1、关闭Eclipse 打开D:\eclipse\eclipse.ini -startup plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar --launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120913-144807 -product org.eclipse.epp.package.jee.product --launcher.defaultAction openFile --launcher.XXMaxPermSize 512M -showsplash org.eclipse.platform --launcher.XXMaxPermSize 512m --launcher.defaultAction openFile -vmargs -Dosgi.requiredJavaVersion=1.5 -Dhelp.lucene.tokenizer=standard -Xms40m -Xmx512m 2、之后进行修改:修改如下 -vm C:\Program Files\Java\jdk1.7.0_21\bin\javaw.exe -startup plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar --launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120913-144807 -product org.eclipse.epp.package.jee.product --launcher.defaultAction openFile --launcher.XXMaxPermSize 512M -showsplash org.eclipse.platform --launcher.XXMaxPermSize 512m --launcher.defaultAction openFile -vmargs -Dosgi.requiredJavaVersion=1.5 -Dhelp.lucene.tokenizer=standard -Xms256m -Xmx1024m 3、保存,打开Eclipse
转载于:https://www.cnblogs.com/xuecanmeng/p/5941541.html
总结
以上是生活随笔为你收集整理的Unable to execute dex: GC overhead limit exceeded的全部内容,希望文章能够帮你解决所遇到的问题。
- 上一篇: Linux CentOS 编译LUA。。
- 下一篇: 大道至简第三章。感受。