省下洗发水钱买书 2021-03-13 18:45 采纳率: 0%
浏览 53

idea写Android项目报错Unable to resolve

ERROR: Unable to resolve dependency for ':app@debug/compileClasspath': Could not find any version that matches com.android.support:appcompat-v7:30.+.
Show Details
Affected Modules: app


ERROR: Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not find any version that matches com.android.support:appcompat-v7:30.+.
Show Details
Affected Modules: app


ERROR: Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not find any version that matches com.android.support:appcompat-v7:30.+.
Show Details
Affected Modules: app


ERROR: Unable to resolve dependency for ':app@release/compileClasspath': Could not find any version that matches com.android.support:appcompat-v7:30.+.
Show Details
Affected Modules: app


ERROR: Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not find any version that matches com.android.support:appcompat-v7:30.+.
Show Details
Affected Modules: app
 

  • 写回答

1条回答 默认 最新

  • 字节卷动 领域专家: 操作系统技术领域 2021-03-20 11:29
    关注
    将代码从
    
    implementation 'com.android.support:appcompat-v7:30.+'
    
    
    改成
    
    implementation 'com.android.support:appcompat-v7:+'
    评论

报告相同问题?