lostPlayer
lostPlayer

Reputation: 81

Could not resolve all files for configuration ':app:debugRuntimeClasspath'. problem

I have next problem with my android studio

Caused by: org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':app:debugRuntimeClasspath'.

I allready tried this solutions but not working.

Android studio 3.2.1 ArtifactResolveException: Could not resolve all artifacts for configuration ':classpath'

Error "Could not resolve all files for configuration" in Android Studio

problem ocours when i add dependency from thirdpart library to gradle.

Upvotes: 8

Views: 22029

Answers (1)

LegendSayantan
LegendSayantan

Reputation: 410

Make sure your settings.gradle file has the maven url maven { url='https://jitpack.io'}

Should look like this :

repositories {
    google()
    mavenCentral()
    jcenter() // Warning: this repository is going to shut down soon
    maven { url='https://jitpack.io'}
}

Upvotes: 9

Related Questions