Home » Android » How can i install support library android?

How can i install support library android?

Posted by: admin June 15, 2020 Leave a comment

Questions:

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 another API level, but i can not either, because the sdk manager does not show me any other API than the ones i have already installed. Here is an image of the SDK manager:
enter image description here
How can i show everything i need? (i already tryied with the obsolete option).

How to&Answers:

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.

Answer:

click on “Packages” > “Show Obsolete Packages

Answer:

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.

Answer:

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).

Answer:

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

Tools -> Manage Add-on Sites -> Enable “Google Inc.”