Android——当出现Unable to resolve dependency for ‘:app@debugcompileClasspath‘时如何解决问题

    科技2025-09-07  49

    当出现Unable to resolve dependency for ‘:app@debug/compileClasspath’: Could not find any version that matches com.android.support:appcompat-v7:30.+.时应该如何解决

    当出现以上情况时说明gradle的版本产生了冲突,与AS版本不匹配,可以通过更改src文件夹下的build.gradle文件中的

    implementation 'com.android.support:appcompat-v7:30.+'

    项来解决。 更改这个为 成功解决而问题!

    Processed: 0.015, SQL: 9