Hi, Why is Kotlin version 1.7.20 not available in ...
# android
s
Hi, Why is Kotlin version 1.7.20 not available in Android Studio to update? Gradle lint suggests the new version but it's not available in the stable channel.
y
Upgrade in your build.gradle
s
Android studio won't have the 1.7.20 plugin
why is it not compatible?..
m
its not stable yet!
m
Just upgraded in a test app to verify. In top level build.gradle:
Copy code
id 'org.jetbrains.kotlin.android' version '1.7.20' apply false
and in app/build.grade:
Copy code
kotlinCompilerExtensionVersion '1.3.2'
I also set
Copy code
compileOptions {
        sourceCompatibility JavaVersion.VERSION_11
        targetCompatibility JavaVersion.VERSION_11
    }
    kotlinOptions {
        jvmTarget = '11'
    }
while doing so. Works for my tests so far
s
And you have access to the new features in 1.7.20?
I changed the kotlin version in the top level build.gradle and it seems to work without errors.
m
@Sergio C. no
s
Ah too bad. We need to wait for the stable plugin.