Android Studio Gradle project "Unable to start the daemon process /initialization of VM"
Do Following steps:
- Start Android Studio.
- Close any open project.Go to File > Close Project.(Welcome window will open)
- Go to Configure > Settings.
- On Settings dialog,select Compiler (Gradle-based AndroidProjects) from left and set VM Options to -Xmx512m(i.e. write -Xmx512munder VM Options:) and press OK.
I had the same issue, it was because I had an existing ".gradle" folder and then I've played with the android studio version (and also with the Java jdk version) , and I guess it messed things up.
Solution: Remove the .gradle directory (mine's location was C:\Users\UserName\.gradle), and restart android studio. It will automatically create a new one.