Hi, after updating to Kotlin 1.4, our Android Stud...
# android
e
Hi, after updating to Kotlin 1.4, our Android Studio 4.0.1 became super slow at code completion and at noting compilation failures as-you-type. Does anyone had similar issue? It impact productivity so much we will revert the Kotlin update.
z
Does disabling the new type inference help? We’ve noticed some performance issues with it.
Copy code
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
  kotlinOptions {
    freeCompilerArgs += ["-XXLanguage:-NewInference"]
  }
}
https://youtrack.jetbrains.com/issue/KT-41149
👍 1
e
thanks, trying...