How To Install Repository Com.android.support:appcompat-v7
Solution 1:
Try this:
1) tools -> android -> sdk manager -> Launch Standalone SDK Manager
2) find "extras -> Android support repository" and check it (uncheck other for faster installing)
3) click install
Tip: Also use File -> Invalidate Caches / Restart if android studio does something strange. It may help in some cases
Upd: As Gabriele Mariotti mentioned it only works for existing libraries :)
Upd 2: it seems that standalone version was deprecated. You can update from settings window. Standalone SDK Manager option in Android Studio 2.3
Also all com.android.compat libraries in the Gradle file should be with the same version. The last one is 25.3.1
Solution 2:
This happens because the support libraries v 25.0.2 doesn't exist. You can check here all the revisions.
Also:
How can I install the corresponding
appcompat lib
?
Pay attention. There isn't a relation between the version of the build tools and the support libraries.
To install the support repository just run the SDK Manager.
Solution 3:
This is most likely happen try to remove gradle folder from window c:/user/gradle
, and restart setup again.
Post a Comment for "How To Install Repository Com.android.support:appcompat-v7"