Can't find Android Support Repository in SDK Manager

坚强是说给别人听的谎言 提交于 2019-11-29 09:11:25

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

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

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.

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

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

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

2) Now check for the support library

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"
        }
    }
}

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.

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

Tools installed

Extra library

In consequence, Bazel / Android support is now broken.

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

Please follow this link

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!