https://kotlinlang.org logo
#compose-android
Title
# compose-android
n

Nurlibay

03/26/2024, 11:23 AM
Hello everyone. I'm migrating xml views to compose And I implemented the dependencies.
Copy code
val composeBom = platform("androidx.compose:compose-bom:2022.10.00")
implementation(composeBom)
androidTestImplementation(composeBom)

implementation("androidx.compose.runtime:runtime")
implementation("androidx.compose.ui:ui")
implementation("androidx.compose.foundation:foundation")
implementation("androidx.compose.foundation:foundation-layout")
implementation("androidx.compose.material:material")
implementation("androidx.compose.runtime:runtime-livedata")
implementation("androidx.compose.ui:ui-tooling")
composeOptions {
    kotlinCompilerExtensionVersion = "1.3.2"
}

buildFeatures {
    compose = true
    viewBinding = true
}
I'm getting this error: How I fix it? Please help me. I think this error related to some versions. But I don't know which ones.
a

agrosner

03/26/2024, 11:30 AM
No idea but looks like you’re on a really old version of compose + compiler . May be worth moving the latest BOM