Ionic Android Build failed : Unable to start the daemon process

拜拜、爱过 提交于 2020-01-01 02:49:25

问题


when i'm running ionic build android --release i get an error

Error occurred during initialization of VM
Could not reserve enough space for 2097152KB object heap

Does anyone know the fix ?


回答1:


I got the solution by adding a new system variable name : _JAVA_OPTIONS and value : -Xmx512M




回答2:


After changing the setting in the environment you should restart your Command Prompt CMD to update environment variables




回答3:


your solution: I got the solution by adding a new system variable name : _JAVA_OPTIONS and value : -Xmx512M Hi Amit where should I change this



来源:https://stackoverflow.com/questions/40385165/ionic-android-build-failed-unable-to-start-the-daemon-process

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!