Sunday, 5 June 2016

Failed to Sync Gradle Project in Android Studio

A look at the error detail reveals the following - "Unable to start the daemon process: could not reserve enough space for object heap. Please assign more memory to Gradle in the project's gradle.properties file".

More detail on Gradle's configuration can be found here.

More information about GC configuration can be found here.

To get around this error, try adjusting the -Xmx setting in gradle.properties. Just be careful not to increase it beyond the "maximum representable size".

No comments: