When signin an apk, I got this message:
To run dex in process, the Gradle daemon needs a larger heap.
It currently has 1024 MB.
For faster builds, increase the m
You can try any one of the following
1) change the gradle.properties file and change the heap size as per your requirement.
If org.gradle.jvmargs=-Xmx2048M is not sufficient then change to 4096 as given
org.gradle.jvmargs=-Xmx4096M
2)"Edit Custom VM Options" from the Help menu.
It will open studio.vmoptions / studio64.exe.vmoptions file
Change the content to
-Xms128m
-Xmx4096m
-XX:MaxPermSize=1024m
-XX:ReservedCodeCacheSize=200m
-XX:+UseCompressedOops
Save the the file and restart Android Studio.