错误:
Android Dex: [untitled3] Error: Could not create the Java Virtual Machine.
Android Dex: [untitled3] Error: A fatal exception has occurred. Program will exit.
解决方法:
The problem was caused by the too high heap size for the DX compiler,
it can be changed here(
File
|Settings
|Compiler
|Android DX Compiler
).Check this document that explains why it happens when 32-bit JDK is used.
IDEA:
File
|Settings
|Compiler
|Android Compilers
转载自:
http://stackoverflow.com/questions/18095117/intellij-idea-showing-error-could-not-create-the-java-virtual-machine