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實現原理》

 

 

 

 

 

 

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM