Error:(24, 13) Failed to resolve: com.android.support:appcompat-v7:24.+ Install Repository and sync project


准備二級后,接近半個月都沒有打開過AS了,今天打開后新建一個工程后直接報錯。

Error:(24, 13) Failed to resolve: com.android.support:appcompat-v7:24.+
<a href="install.m2.repo">Install Repository and sync project</a><br><a href="openFile:D:/Andriod/Demo10/app/build.gradle">Show in File</a>

其實直接更新SDK就好了,更新到提示的版本

打開SDK文件夾的

選擇你要更新的API

下載后,跟着提示做就好了。

以后記住。

最近看到一句話,共勉。

不要用盲目的熱情去掩蓋戰術上的失敗。


免責聲明!

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



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