Dependency verification failed for configuration ':classpath'
See original GitHub issueI just cloned the project in android studio 4.0.1 and I got this error.
Do you have a gradle/verification-metadata.xml
to be used to by pass failed verification?
Dependency verification failed for configuration ':classpath'
56 artifacts failed verification:
- aapt2-proto-4.0.1-6197926.jar (com.android.tools.build:aapt2-proto:4.0.1-6197926) from repository Google
- aapt2-proto-4.0.1-6197926.pom (com.android.tools.build:aapt2-proto:4.0.1-6197926) from repository Google
- aaptcompiler-4.0.1.jar (com.android.tools.build:aaptcompiler:4.0.1) from repository Google
- aaptcompiler-4.0.1.pom (com.android.tools.build:aaptcompiler:4.0.1) from repository Google
- annotations-27.0.1.jar (com.android.tools:annotations:27.0.1) from repository Google
- annotations-27.0.1.pom (com.android.tools:annotations:27.0.1) from repository Google
- apksig-4.0.1.jar (com.android.tools.build:apksig:4.0.1) from repository Google
- apksig-4.0.1.pom (com.android.tools.build:apksig:4.0.1) from repository Google
- apkzlib-4.0.1.jar (com.android.tools.build:apkzlib:4.0.1) from repository Google
- apkzlib-4.0.1.pom (com.android.tools.build:apkzlib:4.0.1) from repository Google
- baseLibrary-4.0.1.jar (com.android.databinding:baseLibrary:4.0.1) from repository Google
- baseLibrary-4.0.1.pom (com.android.databinding:baseLibrary:4.0.1) from repository Google
- builder-4.0.1.jar (com.android.tools.build:builder:4.0.1) from repository Google
- builder-4.0.1.pom (com.android.tools.build:builder:4.0.1) from repository Google
- builder-model-4.0.1.jar (com.android.tools.build:builder-model:4.0.1) from repository Google
- builder-model-4.0.1.pom (com.android.tools.build:builder-model:4.0.1) from repository Google
- builder-test-api-4.0.1.jar (com.android.tools.build:builder-test-api:4.0.1) from repository Google
- builder-test-api-4.0.1.pom (com.android.tools.build:builder-test-api:4.0.1) from repository Google
- common-27.0.1.jar (com.android.tools:common:27.0.1) from repository Google
- common-27.0.1.pom (com.android.tools:common:27.0.1) from repository Google
- crash-27.0.1.jar (com.android.tools.analytics-library:crash:27.0.1) from repository Google
- crash-27.0.1.pom (com.android.tools.analytics-library:crash:27.0.1) from repository Google
- databinding-common-4.0.1.jar (androidx.databinding:databinding-common:4.0.1) from repository Google
- databinding-common-4.0.1.pom (androidx.databinding:databinding-common:4.0.1) from repository Google
- databinding-compiler-common-4.0.1.jar (androidx.databinding:databinding-compiler-common:4.0.1) from repository Google
- databinding-compiler-common-4.0.1.pom (androidx.databinding:databinding-compiler-common:4.0.1) from repository Google
- ddmlib-27.0.1.jar (com.android.tools.ddms:ddmlib:27.0.1) from repository Google
- ddmlib-27.0.1.pom (com.android.tools.ddms:ddmlib:27.0.1) from repository Google
- dvlib-27.0.1.jar (com.android.tools:dvlib:27.0.1) from repository Google
- dvlib-27.0.1.pom (com.android.tools:dvlib:27.0.1) from repository Google
- gradle-4.0.1.jar (com.android.tools.build:gradle:4.0.1) from repository Google
- gradle-4.0.1.pom (com.android.tools.build:gradle:4.0.1) from repository Google
- gradle-api-4.0.1.jar (com.android.tools.build:gradle-api:4.0.1) from repository Google
- gradle-api-4.0.1.pom (com.android.tools.build:gradle-api:4.0.1) from repository Google
- layoutlib-api-27.0.1.jar (com.android.tools.layoutlib:layoutlib-api:27.0.1) from repository Google
- layoutlib-api-27.0.1.pom (com.android.tools.layoutlib:layoutlib-api:27.0.1) from repository Google
- lint-gradle-api-27.0.1.jar (com.android.tools.lint:lint-gradle-api:27.0.1) from repository Google
- lint-gradle-api-27.0.1.pom (com.android.tools.lint:lint-gradle-api:27.0.1) from repository Google
- manifest-merger-27.0.1.jar (com.android.tools.build:manifest-merger:27.0.1) from repository Google
- manifest-merger-27.0.1.pom (com.android.tools.build:manifest-merger:27.0.1) from repository Google
- protos-27.0.1.jar (com.android.tools.analytics-library:protos:27.0.1) from repository Google
- protos-27.0.1.pom (com.android.tools.analytics-library:protos:27.0.1) from repository Google
- repository-27.0.1.jar (com.android.tools:repository:27.0.1) from repository Google
- repository-27.0.1.pom (com.android.tools:repository:27.0.1) from repository Google
- sdk-common-27.0.1.jar (com.android.tools:sdk-common:27.0.1) from repository Google
- sdk-common-27.0.1.pom (com.android.tools:sdk-common:27.0.1) from repository Google
- sdklib-27.0.1.jar (com.android.tools:sdklib:27.0.1) from repository Google
- sdklib-27.0.1.pom (com.android.tools:sdklib:27.0.1) from repository Google
- shared-27.0.1.jar (com.android.tools.analytics-library:shared:27.0.1) from repository Google
- shared-27.0.1.pom (com.android.tools.analytics-library:shared:27.0.1) from repository Google
- signflinger-4.0.1.jar (com.android:signflinger:4.0.1) from repository Google
- signflinger-4.0.1.pom (com.android:signflinger:4.0.1) from repository Google
- tracker-27.0.1.jar (com.android.tools.analytics-library:tracker:27.0.1) from repository Google
- tracker-27.0.1.pom (com.android.tools.analytics-library:tracker:27.0.1) from repository Google
- zipflinger-4.0.1.jar (com.android:zipflinger:4.0.1) from repository Google
- zipflinger-4.0.1.pom (com.android:zipflinger:4.0.1) from repository Google
If the artifacts are trustworthy, you will need to update the gradle/verification-metadata.xml file by following the instructions at https://docs.gradle.org/6.5/userguide/dependency_verification.html#sec:troubleshooting-verification
Open this report for more details: file:///Users/dabitdev/Projects/breadwallet-android/build/reports/dependency-verification/at-1597166912388/dependency-verification-report.html
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
java - What are the steps to update dependencies when using ...
If you update a dependency, then the dependency verification will fail because of the updated dependency – as can be expected.
Read more >Verifying dependencies - Gradle User Manual
Dependency verification failed for configuration ':compileClasspath': - On artifact commons-logging-1.2.jar (commons-logging:commons-logging:1.2) in repository ...
Read more >'Dependency verification failed': Checksums of downloaded ...
When I import the project into IntelliJ the Gradle refresh fails with the error: Dependency verification failed for org.testng:testng:7.1.0 ...
Read more >Dependency signature verification (#2193) · Issues - GitLab
Dependency verification failed for configuration ':classpath' One artifact ... Get more help at https://help.gradle.org BUILD FAILED in 13s.
Read more >Re: [SECURITY] Dependency Confusion - The Mail Archive
What went wrong: Dependency verification failed for configuration 'classpath' 2 artifacts failed verification: ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
got it, I removed my gradle/verification-metadata.xml from my pull request.
Agreed, we sometimes experience it internally after Android Studio updates. It’s an ongoing issue with Android Studio that we are still trying to resolve.
You can see more information in the HTML file that is linked after a metadata error. It usually explains that the dependency cache is tampered with, clearing the cache is the best way to resolve such an error.