How can I try K2 with jetpack compose? Internets s...
# k2-adopters
u
How can I try K2 with jetpack compose? Internets say compose is compatible by default since 1.5. I'm running latest and still get a > This version (1.5.12) of the Compose Compiler requires Kotlin version 1.9.23 but you appear to be using Kotlin version 2.0.0-RC1 which is not known to be compatible. Please consult the Compose-Kotlin compatibility map located at https://developer.android.com/jetpack/androidx/releases/compose-kotlin to choose a compatible version pair (or
suppressKotlinVersionCompatibilityCheck
but don't say I didn't warn you!). Why?
g
Because you versions of Compose compiler doesn't support 2.0.0-rc1, compose compiler is explicitly linked to particular version of Kotlin
The link in error message has list of release version, but also links the page with dev builds: https://androidx.dev/storage/compose-compiler/repository
👍 1