首页 > 系统 > Android > 正文

(已解决)Android Studio JVM报错解决方案

2019-11-07 23:12:24
字体:
来源:转载
供稿:网友

异常:

Error: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 https://docs.gradle.org/2.14.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 1572864KB object heap

解决方案:

在gradle.properties中添加或者修改为:

org.gradle.jvmargs=-Xmx512m -XX:MaxPermSize=512m
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表