Я пытаюсь работать над своим проектом Android, я импортирую проект в 2 разных системах, одна из них Windows 10, а другая Mac OS.Студия Android gradle
без проблем строит на Windows , но на Mac, примерно через 1,5 часа, появляется только ошибка ниже
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/3.3/userguide/gradle_daemon.html
Please read the following process output to find out more:
-----------------------
FAILURE: Build failed with an exception.
* What went wrong:
Unable to create daemon log file
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Я добавляю org.gradle.jvmargs=-Xmx512m
в свой проект gradle.properties
но теперь результат.
Мой gradle-wrapper.properties
#Fri Jun 08 19:47:34 IRDT 2018
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip
И информация о моей системе
OS X 10.13.5 (17F77) - High Sierra
Android Studio 3.1.3
Gradle 4.4-all
java version "1.8.0_172"
Java(TM) SE Runtime Environment (build 1.8.0_172-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.172-b11, mixed mode)
В настоящее время моя Android Studio возвращает ошибку ниже
Root project path of the Gradle project not found for Module:....
Я устанавливаю Gradle на свой Mac и собираю его из командной строки без проблем , но в Android Studio ...