Ricardo Ricardo - 1 year ago 197
Android Question

Android studio where is gradle.properties file?

I'm trying to generate a signed apk but I always get the same error.

To run dex in process, the Gradle daemon needs a larger heap.
It currently has approximately 910 MB.
For faster builds, increase the maximum heap size for the Gradle daemon to more than 2048 MB.
To do this set org.gradle.jvmargs=-Xmx2048M in the project gradle.properties.

I canĀ“t file that file but I tried modify gradle-wrapper.properties but I still get the same error.

This is my gradle-wrapper.properties file

#Thu May 05 20:51:44 CEST 2016

I have already try too Android Studio Gradle Could not reserve enough space for object heap

Answer Source

Just create a file called gradle.properties in your root project:


Then add inside the file:

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download