您的位置:首页 > 移动开发 > Android开发

Android studio Unable to start the daemon process

2017-02-09 16:46 441 查看
http://blog.163.com/capt_jacks/blog/static/259351015201692952733257?ignoreua

在将AdroidStudio升级到版本2.2.2后出现:

Error:Unable to start the daemon process.
This problem might be caused by incorrect configuration of the daemon.
For example, an unrecognized jvm option is used.
Please refer to the user guide chapter on the daemon at https://docs.gradle.org/2.14.1/userguide/gradle_daemon.html Please read the following process output to find out more:
-----------------------
Error occurred during initialization of VM
Could not reserve enough space for 1572864KB object heap

问题。

在网上查了查。

解决的办法是:

在你的project中的gradle下gradle.properties文件中


 将org.gradle.jvmargs=-Xmx512m等号右边的值改为-Xmx512m

 


 然后重新build就好了。具体出现这个问题的原因是gradle的问题。

引用 Android
Studio Unable to start the daemon process
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: