Unable to resolve dependency for ':app@debug/compileClasspath': Could not find any version that matc

错误展示:


错误提示:

Unable to resolve dependency for ':app@debug/compileClasspath': Could not find any version that matches com.android.support:appcompat-v7:29.+.

Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not find any version that matches com.android.support:appcompat-v7:29.+.

Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not find any version that matches com.android.support:appcompat-v7:29.+.

错误信息:

Unable to resolve dependency for ':app@debug/compileClasspath': Could not find any version that matc_第1张图片

 

解决办法:


因为提示:com.android.support:appcompat-v7:29.+ 没有;

打开 build.gradle 》》

    implementation 'com.android.support:appcompat-v7:29.+'
    替换为
    implementation 'com.android.support:appcompat-v7:28.0.0-rc01'

 

Unable to resolve dependency for ':app@debug/compileClasspath': Could not find any version that matc_第2张图片

 

 

如果解决了麻烦关注下

笔者的微信公众号,每天一篇好文章:

关注公众号,回复synchronized获取《深入探讨synchronized实现原理》

 

Unable to resolve dependency for ':app@debug/compileClasspath': Could not find any version that matc_第3张图片

 

Unable to resolve dependency for ':app@debug/compileClasspath': Could not find any version that matc_第4张图片

 

 

 

 

 

你可能感兴趣的:(Unable to resolve dependency for ':app@debug/compileClasspath': Could not find any version that matc)