錯誤展示:
錯誤提示:
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實現原理》