在编译Android源码是提示 错误,我也将虚拟机内存调整到2G,但还是提示错误,求解决方案
targetDex:coreErroroccurredduringinitializationofVMCouldnotreserveenoughspaceforobjec...
target Dex: core
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
make: *** [out/target/common/obj/JAVA_LIBRARIES/core_intermediates/noproguard.classes-with-local.dex] Error 1
在vmware 8安装ubuntu12.04系统中,swap,10G,其他30G,怎么还是提示这个错误 展开
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
make: *** [out/target/common/obj/JAVA_LIBRARIES/core_intermediates/noproguard.classes-with-local.dex] Error 1
在vmware 8安装ubuntu12.04系统中,swap,10G,其他30G,怎么还是提示这个错误 展开
展开全部
同样的问题,我用的不是虚拟机,4G内存,4核处理器,。所以应该不是内存不够的问题。 ,,,,刚刚找到个地址,我的问题解决了,你应该也是这样的问题,修改build/core/definitions.mk 中关于core.jar 编译的最小内存,JXmx-。
参考资料: http://www.360doc.com/content/12/0317/09/1801810_195071521.shtml#
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询