8

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.

lostPlayer
  • 81
  • 1
  • 1
  • 3

1 Answers1

8

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'}
}
LegendSayantan
  • 346
  • 1
  • 7