Can't find Android Support Repository in SDK Manager

后端 未结 7 1926
南笙
南笙 2020-12-11 00:18

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 t

相关标签:
7条回答
  • 2020-12-11 00:28

    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.

    0 讨论(0)
  • 2020-12-11 00:32

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

    Tools installed

    Extra library

    In consequence, Bazel / Android support is now broken.

    0 讨论(0)
  • 2020-12-11 00:38

    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"
            }
        }
    }
    
    0 讨论(0)
  • 2020-12-11 00:46

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

    2) Now check for the support library

    0 讨论(0)
  • 2020-12-11 00:47

    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

    0 讨论(0)
  • 2020-12-11 00:49

    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.

    0 讨论(0)
提交回复
热议问题