"Could not create the Java Virtual Machine" when used Ant package
2015-02-03 14:43
627 查看
The error message:
-dex:
[dex] input: I:\companywork\GamePlay\samples\game-sanguo\android\bin\class
es
[dex] input: J:\android\android-sdk-windows\tools\support\annotations.jar
[dex] Pre-Dexing J:\android\android-sdk-windows\tools\support\annotations.
jar -> annotations-31e2db6e0f9d274026a19c8df80cad9a.jar
[dx] Error occurred during initialization of VM
[dx] Could not reserve enough space for object heap
[dx] Error: Could not create the Java Virtual Machine.
[dx] Error: A fatal exception has occurred. Program will exit.
到你的androidSDK目录下 android-sdk-windows\build-tools 找到对应版本的编译工具 我用的是21.1.2
进入目录找到 dx.bat -》 set defaultXmx=-Xmx512M 改小点比如512M
-dex:
[dex] input: I:\companywork\GamePlay\samples\game-sanguo\android\bin\class
es
[dex] input: J:\android\android-sdk-windows\tools\support\annotations.jar
[dex] Pre-Dexing J:\android\android-sdk-windows\tools\support\annotations.
jar -> annotations-31e2db6e0f9d274026a19c8df80cad9a.jar
[dx] Error occurred during initialization of VM
[dx] Could not reserve enough space for object heap
[dx] Error: Could not create the Java Virtual Machine.
[dx] Error: A fatal exception has occurred. Program will exit.
到你的androidSDK目录下 android-sdk-windows\build-tools 找到对应版本的编译工具 我用的是21.1.2
进入目录找到 dx.bat -》 set defaultXmx=-Xmx512M 改小点比如512M
相关文章推荐
- "could not create the java virtual machine"启动eclipse报错
- "could not create the java virtual machine"启动eclipse报错
- "could not create the java virtual machine" eclipse报错提示
- "could not create the java virtual machine"启动eclipse报错
- "Could not create java virtual machine"的问题解决
- "could not create the java virtual machine"启动eclipse报错
- "could not create the java virtual machine"启动eclipse报错
- <综合>java virtual machine launcher 提示 could not find the main class,program will exit 问题
- "could not create the java virtual machine"启动eclipse报错
- "could not create the java virtual machine
- 启动eclipse报错:"could not create the java virtual machine"
- "could not create the java virtual machine"启动eclipse报错
- "could not create the java virtual machine"启动eclipse报错
- "could not create the java virtual machine"启动eclipse报错
- "could not create the java virtual machine"启动eclipse报错 --
- 解决could not create the java virtual machine问题
- Myeclipse打开就出错Could not create the Java virtual machine
- could not create the java virtual machine解决办法
- hadoop 起动是的时候报错 localhost: Could not create the Java virtual machine._far beyond me,thks~~_百度空间
- jbuilder2007 could not create the java virtual machine