:white_check_mark: [RESOLVED] Build error: Getting...
# compose
t
[RESOLVED] Build error: Getting
Copy code
e: androidx.compose.compiler.plugins.kotlin.IncompatibleComposeRuntimeVersionException: You are using an outdated version of Compose Runtime that is not compatible with the version of the Compose Compiler plugin you have installed. The compose compiler plugin you are using (version 1.0.2) expects a minimum runtime version of 1.0.0.
Details in 🧵
I am using
Copy code
compose_version = '1.0.2'
kotlin_version = '1.5.21'
with AGP "com.android.tools.build:gradle:7.0.2"
Anyone know why am getting this? and how do i fix it? 🤔
s
Have you set
android.composeOptions.kotlinCompilerExtensionVersion
in your build.gradle[.kts] file?
t
@sindrenm Yes. I’ve that already
Adding
androidx.compose.*
dependencies to one of the UI modules fixed it. I think it happened because I had
Copy code
buildFeatures {
    compose true
}
but I didn’t add
implementation androidx.compose.*
deps.
s
Ahh, nice!