Has anyone updated Kotlin to 1.7.0 in Electric Eel...
# compose
m
Has anyone updated Kotlin to 1.7.0 in Electric Eel Alpha 03? I am having problems in my Compose project to update. Error: This version (1.2.0-alpha09) of the Compose Compiler requires Kotlin version 1.6.21 but you appear to be using Kotlin version 1.7.0 which is not known to be compatible. Please fix your configuration (or
suppressKotlinVersionCompatibilityCheck
but don't say I didn't warn you!).
f
I mean, the error message is pretty self-explanatory
This version (1.2.0-alpha09) of the Compose Compiler requires Kotlin version 1.6.21
Look here for compatibility table
2
m
According to the official compatibility table a version 1.2.0-alpha09 doesn’t even exist.
1
m
@Michael Paus, right! I don't know why the error is popping up. I'm using Compose 1.2.0-beta03 and kotlin compiler extension of the same version.
composeOptions{
kotlinCompilerExtensionVersion = "1.2.0-beta03"
}
a
You need to use
kotlinCompilerExtensionVersion = 1.2.0-dev-k1.7.0-53370d83bb1
if you’re using Kotlin 1.7.0
2