Craig Citro
07/01/2021, 6:44 PMCraig Citro
07/01/2021, 6:44 PMFailed to resolve: ui-graphics-1.0.0-rc01
Affected Modules: app
First build error:
1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':app:checkDebugAarMetadata'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
> Failed to transform ui-graphics-1.0.0-rc01.aar (androidx.compose.ui:ui-graphics:1.0.0-rc01) to match attributes {artifactType=android-aar-metadata, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Could not find ui-graphics-1.0.0-rc01.aar (androidx.compose.ui:ui-graphics:1.0.0-rc01).
Searched in the following locations:
<https://dl.google.com/dl/android/maven2/androidx/compose/ui/ui-graphics/1.0.0-rc01/ui-graphics-1.0.0-rc01.aar>
YASAN
07/01/2021, 6:52 PM1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':app:checkNextDebugAarMetadata'.
> Could not resolve all files for configuration ':app:nextDebugRuntimeClasspath'.
> Failed to transform ui-util-1.0.0-rc01.aar (androidx.compose.ui:ui-util:1.0.0-rc01) to match attributes {artifactType=android-aar-metadata, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Could not find ui-util-1.0.0-rc01.aar (androidx.compose.ui:ui-util:1.0.0-rc01).
Searched in the following locations:
<https://dl.google.com/dl/android/maven2/androidx/compose/ui/ui-util/1.0.0-rc01/ui-util-1.0.0-rc01.aar>
> Failed to transform profileinstaller-1.0.0-rc01.aar (androidx.profileinstaller:profileinstaller:1.0.0-rc01) to match attributes {artifactType=android-aar-metadata, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Could not find profileinstaller-1.0.0-rc01.aar (androidx.profileinstaller:profileinstaller:1.0.0-rc01).
Searched in the following locations:
<https://dl.google.com/dl/android/maven2/androidx/profileinstaller/profileinstaller/1.0.0-rc01/profileinstaller-1.0.0-rc01.aar>
The weird thing is that the links do actually work but Gradle cant fetch the aar files for some reason.Adam Powell
07/01/2021, 6:53 PMCraig Citro
07/01/2021, 6:54 PMAdam Powell
07/01/2021, 6:54 PMCraig Citro
07/01/2021, 6:55 PMui-graphics-1.0.0-rc01.aar
just fineCraig Citro
07/01/2021, 7:04 PMcompose_version = '1.0.0-rc01'
then I start getting the same error with ui-graphics.Nick Anthony
07/01/2021, 7:06 PMYASAN
07/01/2021, 7:07 PMCraig Citro
07/01/2021, 7:07 PMYASAN
07/01/2021, 7:07 PMYASAN
07/01/2021, 7:12 PMYASAN
07/01/2021, 7:14 PMAlexa_Gal
07/01/2021, 7:15 PMNick Anthony
07/01/2021, 7:26 PMNick Anthony
07/01/2021, 7:59 PM1.5.10
Nick Anthony
07/01/2021, 8:00 PMCraig Citro
07/01/2021, 8:02 PMYASAN
07/01/2021, 8:41 PMCraig Citro
07/01/2021, 8:43 PM.gradle/cache
directory, starting android studio, and invalidating cache/restartCraig Citro
07/01/2021, 8:43 PMYASAN
07/01/2021, 8:48 PMCarl Benson
07/02/2021, 8:29 AMppvi
07/02/2021, 9:00 AM.gradle/caches
and killed gradle processesCarl Benson
07/02/2021, 9:24 AMCarl Benson
07/02/2021, 9:26 AMCause 3: org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find androidx.compose.ui:ui-tooling-preview:1.0.0-rc1.
Searched in the following locations:
- <https://oss.sonatype.org/content/repositories/snapshots/androidx/compose/ui/ui-tooling-preview/1.0.0-rc1/ui-tooling-preview-1.0.0-rc1.pom>
- <https://jitpack.io/androidx/compose/ui/ui-tooling-preview/1.0.0-rc1/ui-tooling-preview-1.0.0-rc1.pom>
- <https://repo.maven.apache.org/maven2/androidx/compose/ui/ui-tooling-preview/1.0.0-rc1/ui-tooling-preview-1.0.0-rc1.pom>
ppvi
07/02/2021, 9:45 AMCarl Benson
07/02/2021, 9:48 AMsettings.gradle
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
maven { url '<https://oss.sonatype.org/content/repositories/snapshots/>' }
maven { url "<https://jitpack.io>" }
mavenCentral()
}
}
same as the wizard projectppvi
07/02/2021, 9:49 AMsettings.gradle
Carl Benson
07/02/2021, 9:52 AMgoogle()
mavenCentral()
jcenter() // Warning: this repository is going to shut down soon
ppvi
07/02/2021, 9:54 AMui-graphics
issueCarl Benson
07/02/2021, 10:04 AMppvi
07/02/2021, 10:04 AMCarl Benson
07/02/2021, 10:08 AM