eclipse   Unable to execute dex: GC overhead limit exceeded GC overhead limit exceeded解决办法

有个老APP在eclipse上,以前打包都很顺利,今天好几次就是打不出来包,总是报错,而且eclipse还经常未响应,非常恶心这软件。

后来仔细看了下英文报错内容,大概意思是:无法执行dex,GC空间不足,超额

网上查了些资料找到了解决办法,需要对eclipse做相关配置,增加空间,如下:

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

时间: 2024-10-31 01:12:08

eclipse   Unable to execute dex: GC overhead limit exceeded 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.eq

Conversion to Dalvik format failed: Unable to execute dex: GC overhead limit exceeded异常解决

在运行工程的时候,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.XXMax

解决:Unable to execute dex: GC overhead limit exceeded

Android打包时下面的错误: Unable to execute dex: GC overhead limit exceeded GC overhead limit exceeded 解决方案如下:(更多交流请加入:Android优秀交流群 114559024) 1.关闭Eclipse 打开D:\eclipse\eclipse.ini -startup plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar --launch

android Eclipse执行项目提示错误: unable to execute dex: GC orerhead limit exceeded

Eclipse执行项目提示错误: unable to execute dex: GC orerhead limit exceeded 解决方法: 找到Eclipse安装目录的文件,\eclipse\eclipse.ini 打开把 launcher.appendVmargs-vmargs-Dosgi.requiredJavaVersion=1.6-Xms40m-Xmx512m- 修改为: launcher.appendVmargs-vmargs-Dosgi.requiredJavaVersion=

【转】Unable to execute dex: Java heap space 解决方案(如何为eclipse.int 添加内存)

原文网址:http://blog.csdn.net/zengyangtech/article/details/7003379 欢迎转载,转载请注明 http://blog.csdn.net/zengyangtech/article/details/7003379 今天,在编译一个大工程的时候遇到了问题 Unable to execute dex: Java heap space 上网找了一下,有两种解决方案: 1. eclipse.int 添加内存 2. 导入工程的jar通过 add User

Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse log for stack trace.(转)

1.程序运行后异常显示: 解决方案:在项目上点击右键->properties->Java Build Path, remove掉Android Dependences即可 Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse log for stack trace.(转),布布扣,bubuko.com Unable to execute dex: java.nio.BufferOverflowExc

eclipse:运行 Android 项目时出现 “Unable to execute dex: Multiple dex files define” 解决方法

android 项目在eclipse 出现Unable to execute dex: Multiple dex files define Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define 的原因主要是因为jar包重复导入造成的冲突 这个项目我使用了swipebacklayout的library,library里面已经导入了v7的jar包,项目工程里也有个v7包,解决方法就是将

eclipse运行时出现Unable to execute dex

eclipse在裕兴工程的时候费时很久,且报了Unable to execute dex的错误,查找了很多原因,最终解决. 是因为我的工程引入了一个jar包(libs目录下),该jar包引用了其他jar,而员工称也引用了这些jar,导致了重复引用. 将院工程中引用到的jar包删除即可编译通过. 在打包的过程中可能会出现这样的问题,原因是有重复的.jar被引用,可以查看你的build path,尤其是Android Dependencies一定有重复引入的.jar包,解决的方法是在libs删除重复

Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse log for stack trace.

问题提示:Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse log for stack trace.Conversion to Dalvik format failed: Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse log for stack trace. 最新的19版本会在你的项目下建立一个