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

一年好景君须记,最是橙黄橘绿时。这篇文章主要讲述Android Studio无法启动 Gradle ,无法启动守护程序相关的知识,希望能为你提供帮助。

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位
【Android Studio无法启动 Gradle ,无法启动守护程序】 针对低内存机器配置 IDE

    推荐阅读