Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio could not find any version that matches com.android.support:appcompat-v7:+

Running a project in Android Studio fails with this error: could not find any version that matches com.android.support:appcompat-v7:+

How can I fix this error?

like image 668
ArdaZeytin Avatar asked Oct 27 '13 18:10

ArdaZeytin


People also ask

How do I fix AppCompat error v7?

How do I fix AppCompat error v7? "You must have the latest versions of SDK Tools / Build Tools / Platform Tools." This trick resolved my problem. I have all updated Tools except "Build Tools". So I just update the "Build Tools", restarted eclipse then clean "appcompat" project and found my problem is solved.

What is the use of Appcompatactivity in Android?

Stay organized with collections Save and categorize content based on your preferences. Base class for activities that wish to use some of the newer platform features on older Android devices.


2 Answers

From Android Studio go to: Tools >> Android >> SDK Manager

Select and install "Extras|Android Support Repository"

like image 182
James Edgar Avatar answered Sep 21 '22 18:09

James Edgar


For me it worked after changing the version from 7:27.+ to 7:+

like image 20
osama yaccoub Avatar answered Sep 24 '22 18:09

osama yaccoub