2015-12-02 151 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

相關問題