I added the kotlin.experimental.tryK2=true flag to...
# k2-adopters
c
I added the kotlin.experimental.tryK2=true flag to my android project and tried using gradle profiler to test with it on vs off. It seems to give me about a ~15 percent improvement. Does anyone know if this flag affects the typing speed in Android Studio? or do we need to wait for something else to help with typing speed/inference/etc?
j
K2 and the new FIR is not on the IDE yet
c
oh cool. so k2 right now will improve compile times. not ide autocomplete and such. got it. thank you
s
@Colton Idle I was trying to add k2 in my project but getting some linting issue May I know what's your Gradle and AGP version
you should maybe add
android.lint.useK2Uast=true
s
Even after adding above line in gradle.properties file still getting same error
If your project is open source can i try running it on my system