Skip to content Skip to sidebar Skip to footer

Android Gradle Build Slow

I am trying to figure out why our Gradle build is so slow. Currently each time you hit build with no changes the build time is around 45 seconds. This is a single module project. I

Solution 1:

This might shed some light:

http://tools.android.com/tech-docs/instant-run

Gradle build slow on transformClassesWithDexForDebug

https://code.google.com/p/android/issues/detail?id=187443&q=attachments%3D0&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars

Try disabling data binding:

  dataBinding {
         enabled = true
  }

Also try

 ./gradlew  assembleDebug --profile

Post a Comment for "Android Gradle Build Slow"