我收到了以下错误,
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>"
答案 0 :(得分:2)
您是否尝试按照您发布的错误消息中包含的说明进行操作?
答案 1 :(得分:0)
它对我有用。
Go to
C:Users/username.gradle
和删除 username.gradle
文件。
它可以帮助你。