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.+.
错误信息:
解决办法:
因为提示: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'
如果解决了麻烦关注下
笔者的微信公众号,每天一篇好文章:
关注公众号,回复synchronized获取《深入探讨synchronized实现原理》