Intellij idea : could not create the java virtual machine

来源:互联网 发布:在html中引入js文件 编辑:程序博客网 时间:2024/06/11 15:10

在使用 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

0 0