I have an Android Studio project that has only the gradle-wrapper.properties
file and when I run the build I get a message that I have to add a new property to gradle.properties
, but that file is not in the project.
The message is as follows:
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.
The question is Is it the same to change the property in gradle-wrapper.properties
, instead of gradle.properties
? Should I create the new file gradle.properties
to add the property org.gradle.jvmargs=-Xmx2048M
in?