【问题标题】:Unable to start the daemon process, incorrect configuration of the daemon无法启动守护进程,守护进程配置不正确
【发布时间】:2018-06-18 16:18:06
【问题描述】:
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/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 1572864KB object heap

我该如何解决这个问题?我不知道如何遵循这些指示。这是我第一次这样做。在另一个类似的问题中,它说要删除一个文件,但我在指定位置没有这个文件。

【问题讨论】:

    标签: android-studio gradle daemon


    【解决方案1】:

    将 gradle.properties Xmx 值更改为 Xmx1024m(比原来的 1538 小一些)并且它起作用了!

    【讨论】:

      最近更新 更多