https://kotlinlang.org logo
#compose
Title
# compose
p

Prashant Priyadarshi

10/05/2020, 12:51 PM
I am trying to move to compose 1.0.0-alpha04 and I have updated the new compiler dependency androidx.compose.compilercompiler1.0.0-alpha04 but still I am getting the below error, any idea why?
Execution failed for task ':app:prepareDebugKotlinCompileTask'.
> Could not resolve all files for configuration ':app:kotlin-extension'.
> Could not find androidx.compose:compose-compiler:1.0.0-alpha04.
I got the solution through forums. in case anyone else faces the same problem they can upgrade gradle to
com.android.tools.build:gradle:4.2.0-alpha13
and it will work
z

Zach Klippenstein (he/him) [MOD]

10/05/2020, 2:52 PM
Yep, agp alpha 13 is a requirement for compose alpha 4. This is called out in the release notes as well.
👍 1