码迷,mamicode.com
首页 > 移动开发 > 详细

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

时间:2017-11-01 20:26:59      阅读:264      评论:0      收藏:0      [点我收藏+]

标签:option   chapter   无法   style   following   无法启动   rect   read   uid   

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 ,无法启动守护程序

标签:option   chapter   无法   style   following   无法启动   rect   read   uid   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!