Can't find Android Support Repository in SDK M

2020-02-11 17:27发布

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?

8条回答
地球回转人心会变
2楼-- · 2020-02-11 17:53

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

查看更多
▲ chillily
3楼-- · 2020-02-11 17:54

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

2) Now check for the support library

查看更多
【Aperson】
4楼-- · 2020-02-11 17:57

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.

查看更多
Juvenile、少年°
5楼-- · 2020-02-11 18:04

In my case it was renamed. But once I updated it just change the name.

enter image description here

Please follow this link

查看更多
ら.Afraid
6楼-- · 2020-02-11 18:06

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.

查看更多
劫难
7楼-- · 2020-02-11 18:07

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

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

查看更多
登录 后发表回答