Город МОСКОВСКИЙ
00:01:46

Android - How to solve "unable to start daemon process error" in Android Studio

Аватар
Байтовый Ритм
Просмотры:
21
Дата загрузки:
05.12.2023 13:39
Длительность:
00:01:46
Категория:
Обучение

Описание

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 http://gradle.org/docs/1.12/userguide...
-----------------------
Error occurred during initialization of VM
Could not reserve enough space for 1048576KB object heap


Solution:
Add following line in gradle.properties file
org.gradle.jvmargs=-XX\:MaxHeapSize\=256m -Xmx256m

Рекомендуемые видео