Android Studio: Unable to start the daemon process

Solution 1:

Try deleting your .gradle from C:\Users\<username> directory and try again.

Solution 2:

1.If You just open too much applications in Windows and make the Gradle have no enough memory in Ram to start the daemon process.So when you come across with this situation,you can just close some applications such as iTunes and so on. Then restart your android studio.

2.File Menu - > Invalidate Caches/ Restart->Invalidate and Restart.

Solution 3:

I also had same kind of issue. But managed to solve by Invalidate Cash.

From File Menu - > Invalidate Caches/ Restart..

It solved the problem for me.

Solution 4:

In Eclipse, go to windows -> preferences -> gradle->arguments. Find JVM Arguments choose from radio button "USE :" and write arguments -Xms128m -Xmx512m Then click button Apply

Solution 5:

Check your project folder. You may have there a file called gradle.properties and in there, check to see if you don't have this line:

org.gradle.jvmargs=-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8

In my case, I just deleted the file, but check the contents to see if you don't actually want to keep some of the settings.