我正在使用 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
我设置了默认的org.gradle.jvmargs=-Xmx2048
和 MaxPermSize=512m
但仍然出现错误,有人能告诉我为什么会出现这个错误吗?