解决Unable to execute dex: Multiple dex files define La;问题
来源:互联网 发布:网络商务通讯有限公司 编辑:程序博客网 时间:2024/05/17 06:04
Unable to execute dex: GC overhead limit exceeded
Have you gotten these errors?
[2013-04-03 00:00:00 - Dex Loader] Unable to execute dex: GC overhead limit exceeded[2013-04-03 00:00:00 - OsmAnd] Conversion to Dalvik format failed: Unable to execute dex: GC overhead limit exceeded
I have a few times now and decided to learn how to fix it. The error is caused by Eclipse not having enough memory for large projects.
Solution:
Change some values in your Eclipse.ini file. This file is located wherever you downloaded Eclipse. If you don’t know where that is, then check your Downloads folder. Depending on which version of Eclipse you are using, the folder may either be called something like “eclipse-mobile-juno-SR1-win32-x86_64″ or “adt-bundle-windows-x86_64-20130219″, if you didn’t already move the eclipse folder from within it.
When you open Eclipse.ini, you should see something like:
-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.v20120522-1813
-product
com.android.ide.eclipse.adt.package.product
–launcher.XXMaxPermSize
256M
-showsplash
com.android.ide.eclipse.adt.package.product
–launcher.XXMaxPermSize
256m
–launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms512m
-Xmx1024m
-Declipse.buildId=v21.1.0-569685
Change the two values at the bottom to something like the following and you’ll be better off. Just restart Eclipse for the changes to take effect.
-Xms512m
-Xmx1024m
Source: http://docs.oseems.com/general/application/eclipse/fix-gc-overhead-limit-exceeded
- 解决Unable to execute dex: Multiple dex files define La;问题
- 解决Unable to execute dex: Multiple dex files define
- [已解决]Unable to execute dex: Multiple dex files define
- 解决异常: Unable to execute dex: Multiple dex files define
- 解决 Unable to execute dex: Multiple dex files define ...
- Unable to execute dex: Multiple dex files define 已解决
- Unable to execute dex: Multiple dex files define问题
- Dex Loader] Unable to execute dex: Multiple dex files define
- android中解决“Dex Loader] Unable to execute dex: Multiple dex files define LXXX”错误
- Dex Loader] Unable to execute dex: Multiple dex files define 解决
- Dex Loader Unable to execute Multiple dex files define解决方法
- Unable to execute dex: Multiple dex files define Lcom
- Unable to execute dex: Multiple dex files define 解决方法
- Dex Loader Unable to execute Multiple dex files define解决方法
- Dex Loader Unable to execute Multiple dex files define解决方法
- Unable to execute dex: Multiple dex files define 解决方法
- Unable to execute dex: Multiple dex files define的解决办法
- Unable to execute dex: Multiple dex files define Lcom
- 黑马程序员——Java语言基础:集合框架(Collection、Map,工具类Collections、Arrays)
- Ember.js 入门指南——路由定义
- ArcEngine编写WebService
- 浅谈CUDA零拷贝内存
- Tomcat权限问题,导致每次访问页面第一次正常,第二次报错404
- 解决Unable to execute dex: Multiple dex files define La;问题
- Openwrt下logitech-pro9000摄像头使用
- 2015年10个重大突破性技术
- Java - What is difference between HashMap and Hashtable?
- 3dsmax模型改名程序
- the basic operation of sequence in python
- MySql常用操作指令
- Go语言简单实现FTP协议.
- eclipse 导包