I am trying to work on my android project, I import the project in 2 different system, one is windows 10 and another is Mac OS.
Android studio gradle
build on windows with no problem
but on Mac, after about 1.5 hour, it just show bellow error
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.
I add org.gradle.jvmargs=-Xmx512m
on my project gradle.properties
but now result.
My 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
And my system info
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)
Currently my Android Studio return bellow error
Root project path of the Gradle project not found for Module:....
I install Gradle on my mac and its build by command line without any problem but in android studio ...