Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can i install support library android?

Tags:

android

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

like image 408
Fernando Santiago Avatar asked Jul 18 '12 01:07

Fernando Santiago


People also ask

What are support libraries in Android?

Support Libraries provide classes and methods that closely resemble APIs in the Android Framework. Upon discovering this, you may wonder if you should use the framework version of the API or the support library equivalent.

How do I add a library Android support v7 Appcompat in Android Studio?

In the Properties window, select the "Android" properties group at left and locate the Library properties at right. Select /path/to/appcompat/ and Click Remove. Click Add to open the Project Selection dialog. From the list of available library projects, select v7 appcompat library and click OK.


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

like image 133
Stephan Branczyk Avatar answered Oct 03 '22 05:10

Stephan Branczyk


click on "Packages" > "Show Obsolete Packages"

like image 35
Asiddeen bn Muhammad Avatar answered Oct 03 '22 06:10

Asiddeen bn Muhammad