Create New Project Android Studio 0.2.3 - Unable to start Gradle daemon process

Adrian Wreyford picture Adrian Wreyford · Aug 11, 2013 · Viewed 12.5k times · Source

I'm having serious problems with Android Studio. I have totally uninstalled Android Studio, and any copies of Eclipse on my PC. I then deleted the .gradle .android folders in the users folder. I then Re-installed the latest release on my PC. The .gradle and .android folders have been recreated.

I now try to create a new project. I set all the usual, and then the following error comes up:

gradle error message when trying to create new project.

I have read multiple posts, most for older versions of Android Studio. My SDK is up to date, and yes I do have the Android Support Repository Revision 2 installed as well as Android Support Library Rev 18.

Why this has to be so complicated I just cannot understand.

Regards Adrian Wreyford

Answer

rocknow picture rocknow · Feb 22, 2015

The only way I made this working was to add this line

org.gradle.jvmargs=-Xmx512m -XX:MaxPermSize=512m

to gradle.properties