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

Denis

02/11/2021, 2:47 PM
[SOLVED] I want to open some Compose sources in Android Studio. But it shows a decompiled
.class
file, prompts to download sources, and then I get this:
Copy code
Execution failed for task ':app:DownloadSources'.
> Could not resolve all files for configuration ':app:downloadSources_...'.
   > Could not find androidx.compose.foundation:foundation-layout:1.0.0-alpha12@aar.
What could be the reason of it? (Earlier today I removed
~/.gradle/cache
directory, in the process of upgrading to compose alpha12. )
Probably not a Compose issue at all...
"Refresh Gradle dependencies" solved the problem
39 Views