Android Studio Gradle项目“无法启动守护进程/ VM初始化”
Android Studio(Beta)
版本0.8.4 操作系统版本:Windows 8
Java JRE / JDK版本:1.8.0_11
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 http://gradle.org/docs/1.12/userguide/gradle_daemon.html
-----------------------
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
回答:
解决方案:
- 在android studio中打开project gradle.properties文件
2.将此行添加到文件org.gradle.jvmargs = -Xmx1024m的末尾并保存文件
3.关闭并重新打开项目
以上是 Android Studio Gradle项目“无法启动守护进程/ VM初始化” 的全部内容, 来源链接: utcz.com/qa/428018.html