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 文件:

《Android studio Unable to start the daemon process》

 

修改如下:

《Android studio Unable to start the daemon process》

 

 

参考:

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

 

    原文作者:行走的思想
    原文地址: https://www.cnblogs.com/onelikeone/p/9086873.html
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞