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

猜你喜欢

转载自www.cnblogs.com/onelikeone/p/9086873.html