解决eclipse因导入jar包太大导致Unable to execute dex: Java heap space Java heap space的问题
2014-03-28 09:46
549 查看
最近开发中用到比较多的开源库,而开源项目中常常需要引入其他开源jar包,有些开源jar包比较大,在运行项目,elipse在编译的时候会报下面这个错误:
Unable to execute dex: Java heap space Java heap space
如何解决?
设置一下elpse:window =》Preferences=》Java=》Build Path=》User Libraries=》new user libraries=》随便写一个名字=》勾选System libraries(added to the boot class path)=》然后选中这个User Libraries=》Add JARS 把需要用到的包导入就行了
如何在项目中引用这个User Libraries
Properties=》Java Build Path=》Libraries=》Add Library=》User Library=》选中刚创建的User libraries
Unable to execute dex: Java heap space Java heap space
如何解决?
设置一下elpse:window =》Preferences=》Java=》Build Path=》User Libraries=》new user libraries=》随便写一个名字=》勾选System libraries(added to the boot class path)=》然后选中这个User Libraries=》Add JARS 把需要用到的包导入就行了
如何在项目中引用这个User Libraries
Properties=》Java Build Path=》Libraries=》Add Library=》User Library=》选中刚创建的User libraries
相关文章推荐
- eclipse进行run android application是出现Unable to execute dex Java heap space解决
- Unable to execute dex: Java heap space问题解决方法
- 解决问题:unable to execute dex: Java heap space
- Eclipse 开发时遇到Unable to execute dex: Java heap space
- Unable to execute dex: Java heap space Java heap space(导入itextpdf-5.2.1.jar出错)
- Android 第三方 Jar 的 Link 与问题:Unable to execute dex: Java heap space的解决方法
- "Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse log for stack trace"问题解决
- Android 第三方 Jar 的 Link 与问题:Unable to execute dex: Java heap space的解决方法
- Eclipse出现内存空间不够的错误:Unable to execute dex: Java heap space
- 编译Android出错:Unable to execute dex: Java heap space .
- 编译Android出错:Unable to execute dex: Java heap space
- Unable to execute dex: Java heap space Java heap space
- Unable to execute dex: java.nio.BufferOverflowException问题解决
- Unable to execute dex: Java heap space
- 编译Android程序出错:android Unable to execute dex: Java heap space
- android Unable to execute dex: Java heap space
- 编译Android出错:Unable to execute dex: Java heap space
- Eclipse运行程序时出现问题之-Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse log
- Android开发 之 编译Android出错:Unable to execute dex: Java heap space
- Java 开发 Unable to execute dex 问题解决记录