Android Studio 安装后gradle project sync failed.Basic functionally will not work properly
Error:Unabletostartthedaemonprocess:couldnotreserveenoughspaceforobjectheap.Pleaseass...
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:
<em>org.gradle.jvmargs=-Xmx1024m</em>
<a href="http://www.gradle.org/docs/current/userguide/build_environment.html">Read Gradle's configuration guide</a><br><a href="http://docs.oracle.com/javase/7/docs/technotes/guides/vm/gc-ergonomics.html">Read about Java's heap size</a>
但是如果真的把org.gradle.jvmargs设为1024的话,再次启动后会电脑死机,求大神解决方案
电脑32位,打开的是Android Studio.exe,安装包android-studio-bundle-141.2117773-windows 展开
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:
<em>org.gradle.jvmargs=-Xmx1024m</em>
<a href="http://www.gradle.org/docs/current/userguide/build_environment.html">Read Gradle's configuration guide</a><br><a href="http://docs.oracle.com/javase/7/docs/technotes/guides/vm/gc-ergonomics.html">Read about Java's heap size</a>
但是如果真的把org.gradle.jvmargs设为1024的话,再次启动后会电脑死机,求大神解决方案
电脑32位,打开的是Android Studio.exe,安装包android-studio-bundle-141.2117773-windows 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询