https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
y

yasir-ameen

11/04/2023, 8:10 AM
i am using the following
Copy code
agp = "8.1.2"
kotlin = "1.9.20"
compose = "1.5.1"
compose-compiler = "1.5.3"
compose-material3 = "1.1.2"
androidx-activityCompose = "1.8.0"
ktor = "2.3.5"
napier = "2.6.1"
kotlinx-coroutines = "1.7.3"
but having the following errori This version (1.5.3) of the Compose Compiler requires Kotlin version 1.9.10 but you appear to be using Kotlin version 1.9.20 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!). i didn’t see any compatible version for compose using 1.9.20.
e

ephemient

11/04/2023, 8:13 AM
if you're using compose-multiplatform, you should already have a compatible compiler plugin https://github.com/JetBrains/compose-multiplatform/blob/master/VERSIONING.md#kotlin-compatibility
if you're using jetpack compose (android), there is no release version compatible with Kotlin 1.9.20, but there are dev snapshots https://androidx.dev/storage/compose-compiler/repository
y

yasir-ameen

11/04/2023, 8:14 AM
Thanks man
a

Alejandro Rios

11/04/2023, 3:53 PM
Your compose version(if it is multiplatform) should be
Copy code
compose = "1.5.10"
9 Views