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
gildor
04/26/2024, 6:18 AM
Because you versions of Compose compiler doesn't support 2.0.0-rc1, compose compiler is explicitly linked to particular version of Kotlin