Warning / Error: To run dex in process, the Gradle daemon needs a larger heap. It currently has approximately 910 MB
Solution which worked for me:
Android Studio 2.1.* has a feature named Dex In Process. To make use of it we need to update our gradle.properties file and increase the amount of memory allocated to the Gradle Daemon VM to a minimum of 2 GB.
So just added the below line in my project gradle.properties
org.gradle.jvmargs=-Xmx2048m
Solution which worked for me:
Android Studio 2.1.* has a feature named Dex In Process. To make use of it we need to update our gradle.properties file and increase the amount of memory allocated to the Gradle Daemon VM to a minimum of 2 GB.
So just added the below line in my project gradle.properties
org.gradle.jvmargs=-Xmx2048m
Comments