- Forum-Beiträge: 650
12.03.2022, 21:41:42 via Website
12.03.2022 21:41:42 via Website
Hallo zusammen
Mein App lässt sich nicht mehr ausführen. Ich kann den Code nicht mehr Fehlerfrei compilieren. Wenn ich die App starten möchte, kommt folgender Fehler:
Caused by: org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Ich habe im Internet nach geschaut und keine Lösung finden können die das Problem behebt.
Ich habe das Projekt bereits mit Clean Project gelöscht und mit Sync project mit Gradle File neu angelegt. Wenn ich nun rebuild project mache, werden diese Fehler angezeigt.
Executing tasks: [clean, :app:assembleDebug] in project C:\Users\renato\Documents\Android-Studio\KCK_App
Task :clean UP-TO-DATE
Task :app:clean
Task :app:preBuild UP-TO-DATE
Task :app:preDebugBuild UP-TO-DATE
Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
Task :app:compileDebugAidl NO-SOURCE
Task :app:compileDebugRenderscript NO-SOURCE
Task :app:generateDebugBuildConfig
Task :app:javaPreCompileDebug
Task :app:checkDebugAarMetadata FAILED
Task :app:generateDebugResValues
Task :app:generateDebugResources
Task :app:mergeDebugResources FAILED
Task :app:createDebugCompatibleScreenManifests
Task :app:extractDeepLinksDebug
Task :app:processDebugMainManifest FAILED
Task :app:mergeDebugShaders
Task :app:compileDebugShaders NO-SOURCE
Task :app:generateDebugAssets UP-TO-DATE
Task :app:mergeDebugAssets FAILED
Task :app:processDebugJavaRes NO-SOURCE
Task :app:mergeDebugJavaResource FAILED
Task :app:checkDebugDuplicateClasses FAILED
Task :app:desugarDebugFileDependencies FAILED
Task :app:mergeDebugJniLibFolders
Task :app:mergeDebugNativeLibs FAILED
Task :app:validateSigningDebug
Task :app:writeDebugAppMetadata
Task :app:writeDebugSigningConfigVersions
FAILURE: Build completed with 8 failures.
1: Task failed with an exception.
What went wrong:
Execution failed for task ':app:checkDebugAarMetadata'.Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Could not find com.google.guava:listenablefuture:1.0.
Searched in the following locations:- https://dl.google.com/dl/android/maven2/com/google/guava/listenablefuture/1.0/listenablefuture-1.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > androidx.constraintlayout:constraintlayout:2.1.3 > androidx.core:core:1.7.0 > androidx.concurrent:concurrent-futures:1.0.0
- https://dl.google.com/dl/android/maven2/com/google/guava/listenablefuture/1.0/listenablefuture-1.0.pom
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
2: Task failed with an exception.
What went wrong:
Execution failed for task ':app:mergeDebugResources'.Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Could not find com.google.guava:listenablefuture:1.0.
Searched in the following locations:- https://dl.google.com/dl/android/maven2/com/google/guava/listenablefuture/1.0/listenablefuture-1.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > androidx.constraintlayout:constraintlayout:2.1.3 > androidx.core:core:1.7.0 > androidx.concurrent:concurrent-futures:1.0.0
- https://dl.google.com/dl/android/maven2/com/google/guava/listenablefuture/1.0/listenablefuture-1.0.pom
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
3: Task failed with an exception.
What went wrong:
Execution failed for task ':app:processDebugMainManifest'.Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Could not find com.google.guava:listenablefuture:1.0.
Searched in the following locations:- https://dl.google.com/dl/android/maven2/com/google/guava/listenablefuture/1.0/listenablefuture-1.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > androidx.constraintlayout:constraintlayout:2.1.3 > androidx.core:core:1.7.0 > androidx.concurrent:concurrent-futures:1.0.0
- https://dl.google.com/dl/android/maven2/com/google/guava/listenablefuture/1.0/listenablefuture-1.0.pom
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
4: Task failed with an exception.
What went wrong:
Execution failed for task ':app:mergeDebugAssets'.Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Could not find com.google.guava:listenablefuture:1.0.
Searched in the following locations:- https://dl.google.com/dl/android/maven2/com/google/guava/listenablefuture/1.0/listenablefuture-1.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > androidx.constraintlayout:constraintlayout:2.1.3 > androidx.core:core:1.7.0 > androidx.concurrent:concurrent-futures:1.0.0
- https://dl.google.com/dl/android/maven2/com/google/guava/listenablefuture/1.0/listenablefuture-1.0.pom
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
5: Task failed with an exception.
What went wrong:
Execution failed for task ':app:mergeDebugJavaResource'.Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Could not find com.google.guava:listenablefuture:1.0.
Searched in the following locations:- https://dl.google.com/dl/android/maven2/com/google/guava/listenablefuture/1.0/listenablefuture-1.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > androidx.constraintlayout:constraintlayout:2.1.3 > androidx.core:core:1.7.0 > androidx.concurrent:concurrent-futures:1.0.0
- https://dl.google.com/dl/android/maven2/com/google/guava/listenablefuture/1.0/listenablefuture-1.0.pom
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
6: Task failed with an exception.
What went wrong:
Execution failed for task ':app:checkDebugDuplicateClasses'.Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Could not find com.google.guava:listenablefuture:1.0.
Searched in the following locations:- https://dl.google.com/dl/android/maven2/com/google/guava/listenablefuture/1.0/listenablefuture-1.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > androidx.constraintlayout:constraintlayout:2.1.3 > androidx.core:core:1.7.0 > androidx.concurrent:concurrent-futures:1.0.0
- https://dl.google.com/dl/android/maven2/com/google/guava/listenablefuture/1.0/listenablefuture-1.0.pom
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
7: Task failed with an exception.
What went wrong:
Execution failed for task ':app:desugarDebugFileDependencies'.Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Could not find com.google.guava:listenablefuture:1.0.
Searched in the following locations:- https://dl.google.com/dl/android/maven2/com/google/guava/listenablefuture/1.0/listenablefuture-1.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > androidx.constraintlayout:constraintlayout:2.1.3 > androidx.core:core:1.7.0 > androidx.concurrent:concurrent-futures:1.0.0
- https://dl.google.com/dl/android/maven2/com/google/guava/listenablefuture/1.0/listenablefuture-1.0.pom
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
8: Task failed with an exception.
What went wrong:
Execution failed for task ':app:mergeDebugNativeLibs'.Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Could not find com.google.guava:listenablefuture:1.0.
Searched in the following locations:- https://dl.google.com/dl/android/maven2/com/google/guava/listenablefuture/1.0/listenablefuture-1.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > androidx.constraintlayout:constraintlayout:2.1.3 > androidx.core:core:1.7.0 > androidx.concurrent:concurrent-futures:1.0.0
- https://dl.google.com/dl/android/maven2/com/google/guava/listenablefuture/1.0/listenablefuture-1.0.pom
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 771ms
20 actionable tasks: 19 executed, 1 up-to-date
Ich kann mir nicht mehr helfen. Weiss jemand wie ich das Projekt wieder zum laufen bringen kann?
Gruss Renato
Empfohlener redaktioneller Inhalt
Mit Deiner Zustimmung wird hier ein externer Inhalt geladen.
Mit Klick auf den oben stehenden Button erklärst Du Dich damit einverstanden, dass Dir externe Inhalte angezeigt werden dürfen. Dabei können personenbezogene Daten an Drittanbieter übermittelt werden. Mehr Infos dazu findest Du in unserer Datenschutzerklärung.