https://kotlinlang.org logo
#android-studio
Title
# android-studio
i

Ido Flax

12/09/2023, 6:49 PM
Hello, new to android dev here. I’m trying to view the docs of compose in the IDEA. i;‘m getting this from gradle:
Copy code
> Task :composeApp:DownloadSources FAILED

FAILURE: Build failed with an exception.

* Where:
Initialization script '/private/var/folders/nr/dl18dgt12lxg9kgll5bhw8jh0000gp/T/ijmiscinit5.gradle' line: 25

* What went wrong:
Execution failed for task ':composeApp:DownloadSources'.
> Could not resolve all files for configuration ':composeApp:downloadSources_09922fce-6215-4300-ad34-c6469c10f538'.
   > Could not find androidx.compose.runtime:runtime-android:1.5.4@aar.
     Searched in the following locations:
       - <https://dl.google.com/dl/android/maven2/androidx/compose/runtime/runtime-android/1.5.4@aar/runtime-android-1.5.4@aar.pom>
       - <https://repo.maven.apache.org/maven2/androidx/compose/runtime/runtime-android/1.5.4@aar/runtime-android-1.5.4@aar.pom>
       - <https://maven.pkg.jetbrains.space/public/p/compose/dev/androidx/compose/runtime/runtime-android/1.5.4@aar/runtime-android-1.5.4@aar.pom>
       - <https://maven.universablockchain.com/androidx/compose/runtime/runtime-android/1.5.4@aar/runtime-android-1.5.4@aar.pom>
     Required by:
         project :composeApp
Any idea why this is happening?
2 Views