Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 246
lostPlayer Avatar asked Jun 22 '26 09:06

lostPlayer


1 Answers

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'}
}
like image 143
LegendSayantan Avatar answered Jun 24 '26 22:06

LegendSayantan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!