[来源 www.pms.cc]
在Gradle遇到了上面的问题,困扰了几天,终于解决
Unable to start the daemon process.
This problem might be caused by incorrect configuration of the daemon.
For example, an unrecognized jvm option is used.
Please refer to the user guide chapter on the daemon at http://gradle.org/docs/2.2.1/userguide/gradle_daemon.html
Please read the following process output to find out more:
-----------------------
Error occurred during initialization of VM
Could not reserve enough space for 1048576KB object heap
Java HotSpot(TM) Client VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
Could not fetch model of type 'EclipseProject' using Gradle distribution 'https://services.gradle.org/distributions/gradle-2.2.1-bin.zip'.
解决方法:
在Gradle(STS)上的Arguments上输入:-Xmx512m
[来源 www.pms.cc]
声明: 本文采用 BY-NC-SA 协议进行授权. 转载请注明转自: gradle Error:Unable to start the daemon process.