Android studio 无法启动守护进程,守护进程配置不正确

Android studio 无法启动守护进程,守护进程配置不正确,android-studio,gradle,daemon,Android Studio,Gradle,Daemon,我怎样才能解决这个问题?我不知道如何按照这些指示去做。这是我第一次这样做。在另一个类似的问题中,它说要删除一个文件,但我在指定的位置没有这个文件。将gradle.properties Xmx值更改为Xmx1024m(比原来的1538或其他值小),结果成功了 Error:Unable to start the daemon process. This problem might be caused by incorrect configuration of the daemon. For exam

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

将gradle.properties Xmx值更改为Xmx1024m(比原来的1538或其他值小),结果成功了

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