I keep getting this but I'm not sure why: ```e: an...
# android
g
I keep getting this but I'm not sure why:
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.0-alpha07) expects a minimum runtime version of 1.0.0-alpha07. The version of the runtime on the classpath currently is 0.1.0-dev16.
my versions are all the same
Copy code
const val COMPOSE_VERSION = "1.0.0-SNAPSHOT"
implementation("androidx.navigation:navigation-compose:$COMPOSE_VERSION")
implementation("androidx.compose.runtime:runtime-livedata:$COMPOSE_VERSION")
implementation("androidx.compose.runtime:runtime:$COMPOSE_VERSION")
implementation("androidx.compose.material:material:$COMPOSE_VERSION")
implementation("androidx.compose.ui:ui:$COMPOSE_VERSION")
implementation("androidx.compose.compiler:compiler:$COMPOSE_VERSION")
implementation("androidx.ui:ui-tooling:$COMPOSE_VERSION")
and it's from a snapshot
Copy code
maven("<https://androidx.dev/snapshots/builds/6924113/artifacts/repository>")
a
make sure your
composeOptions {}
block is specifying the right
kotlinCompilerExtensionVersion
you should not need an implementation dependency on the compiler module
also come join us over in #compose ­čÖé
g
@Adam Powell
Copy code
composeOptions {
		kotlinCompilerExtensionVersion = COMPOSE_VERSION
		kotlinCompilerVersion = KOTLIN_VERSION
	}
it's using the same constant as the deps
a
check that something else in your project isn't forcing the runtime to an older version
g
It'd only be in my project right, not one of the dependencies? Landscapist has it set to
1.0.0-alpha05