Joe Altidore
08/01/2022, 10:27 PMExecution failed for task ':app:compileDebugKotlin'.
> Could not resolve all files for configuration ':app:kotlin-extension'.
> Could not find androidx.compose.compiler:compiler:1.3.0-alpha02.
Isaac Udy
08/01/2022, 10:50 PMandroidx.compose.compiler:compiler:1.3.0-alpha02
and Gradle can’t find that (because compiler:1.3.0-alpha02
doesn’t exist).
Most of the Compose libraries have a 1.3.0-alpha02
release, but the compiler is a bit of a special case, and doesn’t always have matching versions like the rest of the Compose libraries. The other libraries like foundation
, material
or runtime
generally share the same version name (i.e. 1.3.0-alpha02
).
At the moment, the most recent version of androidx.compose.compiler:compiler
is 1.3.0-rc01
, so if you change your Gradle declaration to use 1.3.0-rc01
for that artifact, things should start to work again.
You can have a peak into the Google Maven Repository and look at the available versions here:
Compiler: https://maven.google.com/web/index.html#androidx.compose.compiler:compiler
Foundation: https://maven.google.com/web/index.html#androidx.compose.foundation:foundation
Runtime: https://maven.google.com/web/index.html#androidx.compose.runtime:runtimeJoe Altidore
08/02/2022, 8:35 AM