Android studio Unable to start the daemon process

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/4.4/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 1048576KB object heap

 

 

解决方法:

打开 gradle.properties 文件:

 

修改如下:

 

 

参考:

https://blog.csdn.net/shenshizhong/article/details/52295597

 

posted @ 2018-05-25 09:51  行走的思想  阅读(4482)  评论(0编辑  收藏  举报