Has anyone seen this error? (I am not using Androi...
# compose-desktop
k
Has anyone seen this error? (I am not using Android Compose):
Copy code
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.1.0-alpha01) expects a minimum runtime version of 1.1.0-alpha01
1
I’ve tried using desktop compose plugin versions: 1.0.0-alpha3 and 0.5.0-build262
Using Kotlin 1.5.21
d
I saw it but don't remember how I fixed it.
Try adding
google()
to your repositories.
And use alpha3
k
I’ve tried alpha3 as well (already have google())
I see a lot of sample projects using android gradle 4.x.x but I am using 7.x
Using Java 11
i
Some of your modules, or individual target (android/desktop) doesn't depend on "org.jetbrains.compose:compos e-runtime:1.0.0-alpha3", and probably some library transitively depends on the old version of Jetpack(Android) Compose. If you apply
org.jetbrains.compose
plugin to module, you should also add
Copy code
dependencies {
    implementation(compose.runtime) //compose.runtime is equals to org.jetbrains.compose:compose-runtime:1.0.0-alpha3
}
see example
k
Oh wow. I just removed the plugin from one project and now it runs