小编Ayu*_*gga的帖子

无法同步Gradle项目

我正在使用Android studio 1.3.1并且无法同步Gradle项目错误:

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
Run Code Online (Sandbox Code Playgroud)

我的默认org.gradle.jvmargs=-Xmx2048MaxPermSize=512m它毕竟是我看这个错误,有谁能够告诉我为什么我收到此错误?

android android-studio build.gradle

19
推荐指数
2
解决办法
4万
查看次数

标签 统计

android ×1

android-studio ×1

build.gradle ×1