https://kotlinlang.org logo
#compose-desktop
Title
# compose-desktop
s

suresh

02/23/2024, 5:31 AM
Hi, getting the following error while resolving compose desktop dependency (trying with 1,6.0-rc3)..Should i add any additional repo ?
Copy code
> Could not resolve all files for configuration ':compose:desktop:jvmRuntimeClasspath'.
   > Could not find androidx.annotation:annotation:1.7.1.
     Searched in the following locations:
       - <https://repo.maven.apache.org/maven2/androidx/annotation/annotation/1.7.1/annotation-1.7.1.pom>
     Required by:
         project :compose:desktop > org.jetbrains.compose.desktop:desktop-jvm-macos-arm64:1.6.0-rc03 > org.jetbrains.compose.desktop:desktop:1.6.0-rc03 > org.jetbrains.compose.desktop:desktop-jvm:1.6.0-rc03 > org.jetbrains.compose.foundation:foundation:1.6.0-rc03 > org.jetbrains.compose.foundation:foundation-desktop:1.6.0-rc03 > org.jetbrains.compose.annotation-internal:annotation:1.6.0-rc03
   > Could not find androidx.collection:collection:1.4.0.
     Searched in the following locations:
       - <https://repo.maven.apache.org/maven2/androidx/collection/collection/1.4.0/collection-1.4.0.pom>
     Required by:
         project :compose:desktop > org.jetbrains.compose.desktop:desktop-jvm-macos-arm64:1.6.0-rc03 > org.jetbrains.compose.desktop:desktop:1.6.0-rc03 > org.jetbrains.compose.desktop:desktop-jvm:1.6.0-rc03 > org.jetbrains.compose.foundation:foundation:1.6.0-rc03 > org.jetbrains.compose.foundation:foundation-desktop:1.6.0-rc03 > org.jetbrains.compose.collection-internal:collection:1.6.0-rc03
a

Alexander Maryanovsky

02/23/2024, 7:23 AM
Yes, you need to add
google()
👍 1
👍🏻 1
23 Views