Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio: "SDK installation does not have the "Extras > Android Support Repository" installed" BUT IT HAS BEEN INSTALLED

I created Android Project but then I immediately get information that there have been errors.

Warning:(22, 12) Dependency on a support library, but the SDK installation does not have the "Extras > Android Support Repository" installed. Open the SDK manager and install it.

But I installed it, it was installed at the installation of Android Studio. I created another project and it happen again.

enter image description here

like image 588
Yoda Avatar asked May 15 '14 16:05

Yoda


2 Answers

This is bug https://code.google.com/p/android/issues/detail?id=68834 and will be fixed in 0.5.9. In the meantime you can ignore the warning.

like image 76
Scott Barta Avatar answered Oct 27 '22 08:10

Scott Barta


For me it was a very silly error and I spent the last two days trying to get around this. The path to the SDK in local.properties file was not properly escaped.

Change this:

# Location of the android SDK
sdk.dir=C:/Android/sdk

to this:

# Location of the android SDK
sdk.dir=C\:/Android/sdk

Refresh the gradle again.

like image 24
Neerkoli Avatar answered Oct 27 '22 08:10

Neerkoli