ITeye博客

android dex工具打包Could not reserve enough space for object heap的问题

loveofgod · 2012-03-31 13:12 · Android · 移动开发 · Markdown

ANTBUILD : [dx] error : Could not create the Java Virtual Machine. ANTBUILD : [dx] error : A fatal exception has occurred. Program will exit. [dx] Error occurred during initialization of VM [dx] Could not reserve enough space for object heap 這問題,打開 android-sdks\platform-tools 目錄中的 dx.bat 檔案,將 set defaultXmx=-Xmx1024M 改為 set defaultXmx=-Xmx512M

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。