

# Default value: -Xmx2048m -XX:MaxPermSize=512m # The setting is particularly useful for tweaking memory settings. # Specifies the JVM arguments used for the daemon process. # For more details on how to configure your build environment visit # Gradle settings configured through the IDE *will override* Go to your app > open your gradle.properties and change few lines from it Įlse you may copy paste my below snippet as well # Project-wide Gradle settings. 10:03:51 Gradle build finished in 4 min 0 secġ0:10:11 Gradle build finished in 3 min 29 secġ0:20:24 Gradle build finished in 3 min 42 secġ0:28:18 Gradle build finished in 3 min 40 secġ0:31:14 Gradle build finished in 2 min 56 secġ0:38:37 Gradle build finished in 3 min 30 secġ0:42:17 Gradle build finished in 3 min 40 secġ0:45:18 Gradle build finished in 3 min 1 secġ0:48:49 Gradle build finished in 3 min 30 secġ0:53:05 Gradle build finished in 3 min 22 secġ0:57:10 Gradle build finished in 3 min 19 secįound an easy and best way to build gradle My app is not that big in size as well (around 5MB) and it used to build within few seconds but not sure what has changed. I haven't any Anti virus running which could interrupt the builds. Any ideas what could be causing the delays? My Android Studio project used to build faster but now it takes a long time to build.
