2015-12-02 149 views
-3

我已经开始使用Android Studio中的一个新的项目,我得到以下信息:错误:无法启动守护进程

Error:Unable to start the daemon process: could not reserve enough space for object heap. Please assign more memory to Gradle in the project's gradle.properties file. For example, the following line, in the gradle.properties file, sets the maximum Java heap size to 1,024 MB: org.gradle.jvmargs=-Xmx1024m Read Gradle's configuration guide
Read about Java's heap size

+2

您是否尝试过增加堆一样,在错误的描述描述? – Christopher

+1

*我该如何解决这个问题?*解决方案是从字面上给出的错误信息 –

回答

0

尝试什么建议在消息像一个良好的开端声音。 您还可以设置一个ENV export GRADLE_OPTS="-Xmx2048m -XX:MaxPermSize=2048m"

0

也许你需要screenshot.It只是在你的根视图。如果有不是一个文件,创建一个。

enter image description here

相关问题