首页 > 移动平台 > 详细

Android Studio无法启动 Gradle ,无法启动守护程序

时间:2017-11-01 20:19:53      阅读:280      评论:0      收藏:0      [点我收藏+]
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/4.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

  解决办法:编辑studio.exe.vmoptions文件将 Android Studio 的最大堆内存减小至 512Mb。

   vmoptions文件在 Android Studio安装目录\bin\studio.exe.vmoptions 或 studio64.exe.vmoptions

  studio.exe.vmoptions        32位

  studio64.exe.vmoptions    64位

 针对低内存机器配置 IDE

Android Studio无法启动 Gradle ,无法启动守护程序

原文:http://www.cnblogs.com/infocodez/p/7768134.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!