1. 程式人生 > >Android Studio無法啟動 Gradle ,無法啟動守護程序

Android Studio無法啟動 Gradle ,無法啟動守護程序

bsp fin tar gradle ace option star brush intro

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 ,無法啟動守護程序