Error:Could not find appcompat-v7.aar (com.android.support:appcompat-v7:26.1.0). Searched in the fol
生活随笔
收集整理的這篇文章主要介紹了
Error:Could not find appcompat-v7.aar (com.android.support:appcompat-v7:26.1.0). Searched in the fol
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
項目之前好好地,今天打開突然報錯了。AS版本2.3.3
Error:Could not find appcompat-v7.aar (com.android.support:appcompat-v7:26.1.0). Searched in the following locations:https://jcenter.bintray.com/com/android/support/appcompat-v7/26.1.0/appcompat-v7-26.1.0.aarPlease install the Android Support Repository from the Android SDK Manager. <a href="openAndroidSdkManager">Open Android SDK Manager</a>報錯如上圖:
因為我AS版本太低2.3.3所以需要加上這一句:
maven { url "https://maven.google.com" }(同等Google()這一句,但是AS版本太低不支持Google())注意一定要將{ url "https://maven.google.com" }這一行放到jcenter()上面如下圖就解決了
總結
以上是生活随笔為你收集整理的Error:Could not find appcompat-v7.aar (com.android.support:appcompat-v7:26.1.0). Searched in the fol的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 软件的Alpha、Beta、GM、OEM
- 下一篇: Failed to capture sn