0

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

Dihan
  • 1
  • Update : Finally solve this problem. I was using a dependency which was not found by gradle internet [implementation : 'com.android.support:multidex:2.0.1]. After remove that dependency my code run successfully. – Dihan Aug 20 '22 at 04:44

2 Answers2

0

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

Check if the build gradle is in offline mode

david
  • 407
  • 3
  • 11
0

Update : Finally solve this problem. I was using a dependency which was not found by gradle internet [implementation : 'com.android.support:multidex:2.0.1]. After remove that dependency,synchronize it and my code run successfully.

Dihan
  • 1