Search code examples
androidandroid-studiokotlinapple-m1

Android build taken much longer in Macbook Pro with M1 Pro chip using Kotlin 1.6.0


Lately I've been feeling like my Android project was taking way longer to build (around 2 mins, when it used to build in less than a minute for sure). I'm running Android Studio for arm64, with java processes running on Apple Silicon architecture (checked in the Activity Monitor).


Solution

  • In case anyone runs into the same problem, it turns out the slow down occurred after updating to Kotlin 1.6.0 (hence the title of the question). I updated the Kotlin version of my project to the Kotlin plugin version in my Android Studio, which was 1.6.10 and the build time went from 2 mins to 20 seconds, when changes where applied.