错误:Could not resolve all files for configuration ':app:debugRuntimeClasspath'

尝试两种原因的处理

根build.gradle

在buildscript和allprojects都加上

google()
//jcenter()
mavenCentral()
maven { url "https://jitpack.io" }

可能使用androidx的情况
implementation 'com.android.support:support-v4:4.4.1'
或在 gradle.properties文件添加,
android.useAndroidX=true
android.enableJetifier=false
点赞

发表评论

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