Android Studio gradle takes too long to build -
my android studio project used build faster takes long time build. ideas causing delays? have tried https://stackoverflow.com/a/27171878/391401 no effect. dont have anti virus running interrupt builds. app not big in size (around 5mb) , used build within few seconds not sure has changed.
10:03:51 gradle build finished in 4 min 0 sec 10:04:03 session 'app': running 10:10:11 gradle build finished in 3 min 29 sec 10:10:12 session 'app': running 10:20:24 gradle build finished in 3 min 42 sec 10:28:18 gradle build finished in 3 min 40 sec 10:28:19 session 'app': running 10:31:14 gradle build finished in 2 min 56 sec 10:31:14 session 'app': running 10:38:37 gradle build finished in 3 min 30 sec 10:42:17 gradle build finished in 3 min 40 sec 10:45:18 gradle build finished in 3 min 1 sec 10:48:49 gradle build finished in 3 min 30 sec 10:53:05 gradle build finished in 3 min 22 sec 10:57:10 gradle build finished in 3 min 19 sec 10:57:11 session 'app': running
in android studio go file -> settings -> build, execution, deployment -> build tools -> gradle
check 'offline work' under 'global gradle settings'
it reduce 90% gradle build time.
Comments
Post a Comment