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位
时间: 2024-10-16 03:31:46