Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't find Android Compatibility Package on SDK Manager

I want to start learning to work with Fragments and I want to install the Compatibility package for pre 3.0 versions of Android.

However, I can't seem to find this package on the SDK manager. Here's everything I see:

enter image description here

Also, I want to install Action Bar Sherlock to work with Action Bars. On the ACS website it says "If you’re using the Eclipse Development Environment with the ADT plugin version 0.9.7 or greater you can include this as a library project" -

how do I include library projects?

Thanks

like image 844
tyb Avatar asked Dec 09 '22 03:12

tyb


2 Answers

It's called the Android Support Package.

enter image description here

Referencing Library Projects

Assuming you're using Eclipse, this is how you reference a library project (highlights):

  1. In the Package Explorer, right-click the dependent project and select Properties.
  2. In the Properties window, select the "Android" properties group at left and locate the Library properties at right.
  3. Click Add to open the Project Selection dialog.
  4. From the list of available library projects, select a project and click OK.
  5. When the dialog closes, click Apply in the Properties window.
  6. Click OK to close the Properties window.
like image 85
Marvin Pinto Avatar answered Dec 21 '22 10:12

Marvin Pinto


To include library projects, right-click on your project and select Properties, then Android. You will see a form to include library projects. Click Add. (The library project must be loaded in Eclipse.)

like image 34
Barry Fruitman Avatar answered Dec 21 '22 11:12

Barry Fruitman