猿问

Android Studio 新建项目错误,Failed sync gradle project

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>


是在下输了喵
浏览 1954回答 3
3回答

sorgs

项目不要建到C盘去。找个空间大的盘

sorgs

你是重新装看看。

一条小咸鱼

堆内存不够?
随时随地看视频慕课网APP

相关分类

Android
我要回答