How can i install support library android?

后端 未结 5 2292
别跟我提以往
别跟我提以往 2021-02-15 17:08

I need to work with the android-support-v4, buy when i try to install it from SDK manager (support library), it does not show me the package, actually i wanted to install anothe

相关标签:
5条回答
  • 2021-02-15 17:28

    By "select android tools" you mean "select android sdk tools"? This one is not expandable, by the way. (at least not on my android sdk manager).

    The "support library" does not appear in any of the other branches of the android sdk manager.

    Is there any repository need to be added to the sdk manager in order to obtain the package?

    I'm using MacOSX lepard and the latest sdk, and got the same screenshot as above.

    0 讨论(0)
  • 2021-02-15 17:35

    You're asking the wrong question.

    Right-click on your project.

    Select Android Tools > Add Support Libraries...

    (a progress bar will appear, and voila it should download what you need)

    By the way, you should really install the latest android-sdk update. From your screenshot, it doesn't look like you have yet.

    0 讨论(0)
  • 2021-02-15 17:39

    I too faced the same issue and figured out the below solution.

    Tools -> Manage Add-on Sites -> Enable "Google Inc."

    0 讨论(0)
  • 2021-02-15 17:50

    click on "Packages" > "Show Obsolete Packages"

    0 讨论(0)
  • 2021-02-15 17:55

    With the new SDK Manager installed, you will find the "Android Support Library" under Extras (if sorted by API level) or under the repository "Google Inc" (if sorted by Repository).

    I had exactly the same view as above, searched all over the Net, incl this post, and couldn't find anything. By the time I gave up, it suddenly showed in my listings. It seems that I had some network issues (possibly combined with latest version).

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