29

I am following this: https://developer.android.com/sdk/installing/adding-packages.html At step 2, I can't seem to find an option to download Android Support Repository in the Extras folder.

enter image description here

In the extras folder, you can see there's no option to download it. Am I doing anything wrong?

Suragch
  • 484,302
  • 314
  • 1,365
  • 1,393
  • I can't see that ether in my packages list.. I think it's just meaning the "Android Support Library" that you all ready have installed.. I never had needed anything else.. – Hardy Jul 06 '14 at 17:52
  • @Hardy Yeah, I never had the need for anything extra, but I am experimenting with google ads so I need these extra things. –  Jul 06 '14 at 17:54
  • I have also used google ads and never needed anything else.. Do you have then some compile issues or something? Missing classes? – Hardy Jul 06 '14 at 17:57
  • @Hardy Oh no, I'm just following the steps from the android website, I'm not even sure if I need those or not, just following them –  Jul 06 '14 at 18:25
  • Ok :) i am sure you can continue without bothering about that anymore :) – Hardy Jul 06 '14 at 18:27

8 Answers8

25

Under Tools, select Android SDK Tools and Android SDK Platform-tools and update.

enter image description here

Once updated, restart your SDK Manager. Android Support Repository will now be available under Extras.

enter image description here

kehers
  • 4,076
  • 3
  • 30
  • 31
  • hmm. doesn't work for me (android sdk tools now at 24.4.1). There's something called "Local Maven repository for Support Libraries" which I'm going to try installing. Perhaps it's just been renamed? – goofballLogic Feb 25 '16 at 10:28
  • 1
    doesn't works for me too. android sdk tools is 24.4.1 and platform tools is 23.1 and build tools is 23.0.2. Is these all at last version? I have not access to main google repository but I have used mirror for it (mirrors.neusoft.edu.cn). – S.M.Mousavi Feb 25 '16 at 19:08
  • 1
    Same here. Am on android sdk tools 24.4.1, platform tools 23.1 and build tools 23.0.2, still not seeing Support Repository – prago Feb 25 '16 at 20:26
  • 34
    It was renamed. Install "Local Maven repository for Support Libraries" now. – Jeiwan Mar 02 '16 at 08:46
  • I have not installed android sdk platform-tools still I could able to download Local Maven repository for Support Libraries. Actually the problem was that it got renamed to Local Maven repository for Support Libraries. Thanks to @Jeiwan – Programmer Apr 04 '16 at 06:44
  • 1
    It appears as though the name has been changed back? I updated `Local Maven repository for Support Libraries` from rev 27 to rev 30 and it is now (once again) called `Android Support Repository`. This is weird. – Zach Olivare Apr 29 '16 at 15:09
12

As of today, the android support libraries are now available through Google's Maven repository. reference: https://developer.android.com/topic/libraries/support-library/setup.html

by adding maven section in repositories tag in build.gradle of project.

allprojects {
    repositories {
        jcenter()
        maven {
            url "https://maven.google.com"
        }
    }
}
prembhaskal
  • 425
  • 1
  • 4
  • 10
6

kehers answer worked before but now that library has been renamed to:

Local Maven repository for Support Libraries and its also under Extras.

Mladen Petrovic
  • 1,698
  • 1
  • 18
  • 26
4

I also faced the same problem. You should update your Android SDK Tools and Android SDK Platform-tools. That will bring the option of Support Repository.

sid_09
  • 461
  • 4
  • 18
  • 5
    I do have Android Support Repository but nowhere to see Android Support Library???!!!??? – pixel Oct 31 '16 at 02:24
3

From the Android developers website: "The support libraries are now available through Google's Maven repository. We no longer support downloading the libraries through the SDK Manager, and that functionality will be removed soon..."

The support libraries can be found here: https://mvnrepository.com/artifact/com.android.support

Once you find the library you want, download the .aar file then use the steps provided by rsp1984 in THIS post to convert the .aar file into the library.

jucas85
  • 55
  • 8
2

1) On the menu bar, select Packages and check obsolete packages

2) Now check for the support library

Aakash K T
  • 47
  • 8
0

Now, it looks like the supporter library have been simply removed.

Tools installed

Tools

Extra library

Extra library

In consequence, Bazel / Android support is now broken.

jvmvik
  • 319
  • 1
  • 3
  • 9
0

I had the same problem. The main error is in the Build File. The maven URL must be HTTPS but not HTTP:

enter image description here

Error Solved. Done ☻♥.