报错解决方法org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException- Could not resolve all files for configuration ‘-app-debugRuntimeClasspath’.

用Android Studio开发APP时

报错解决方法Caused by: org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ‘:app:debugRuntimeClasspath’.

Pasted image 20240731224704.png

在settings.gradle里面添加

maven { url = uri("https://jitpack.io") }

留下评论

您的电子邮箱地址不会被公开。 必填项已用 * 标注

2 + 5 =