Intellij idea : could not create the java virtual machine

在使用 Intellij idea 开发android的时候 出现以下错误


Android Dex: [untitled3] Error: Could not create the Java Virtual Machine.
Android Dex: [untitled3] Error: A fatal exception has occurred. Program will exit.

解决方法:

这个程序的heap 值太高了,把 android 编译的  heap 值改小就ok了。

 File | Settings | Compiler | Android DX Compiler




原文 http://stackoverflow.com/questions/18095117/intellij-idea-showing-error-could-not-create-the-java-virtual-machine

猜你喜欢

转载自blog.csdn.net/xuejike/article/details/42238159