Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Support Library Manual Download

Can any one tell me how to install Android Support library manually? Because I have problem with my SDK Manager unable to find required library and also packages need to develop an application. But I could manage with other packages manually now I cant find support libraries to download even official website shows how to download through SDK Manager but not manually. What if SDK Manager doesnt work properly like me?

like image 207
Film Creator Avatar asked Sep 12 '12 06:09

Film Creator


People also ask

How do I get Android support library?

Downloading the Support Libraries Follow the following steps to download the support library package through the SDK Manager. Start the android SDK Manager. In the SDK Manager window, scroll to the end of the Packages list, find the Extras folder. Select the Android Support Library item.

How do I add a support library?

To add a support library to your project, modify your gradle build files to include the dependency to that library you found in the previous section. In Android Studio, make sure the Project pane is open and the Android tab is clicked. Expand Gradle Scripts, if necessary, and open the build. gradle (Module: app) file.

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.

Which v7 support libraries are used for modifying UI settings?

v7 Preference Support Library The preference package provides APIs to support adding preference objects, such as CheckBoxPreference and ListPreference , for users to modify UI settings. The v7 Preference library adds support for interfaces, such as Preference. OnPreferenceChangeListener and Preference.


1 Answers

I have been trying to figure this out ALL DAY LONG. Finally came across the right stuff online and so I'll share with you here.

Via command line:

android list sdk -a --extended 

You will receive a list of all the valid packages to be downloaded and installed. You might need to adjust your buffer size to see them all. Snippet below

---------- id: 84 or "source-14"      Type: Source      Desc: Sources for Android SDK, API 14, revision 1 ---------- id: 85 or "extra-android-m2repository"      Type: Extra      Desc: Android Support Repository, revision 5            By Android            Local Maven repository for Support Libraries            Install path: extras\android\m2repository ---------- id: 86 or "extra-android-support" <-- YOU ELUSIVE SOB      Type: Extra      Desc: Android Support Library, revision 19.1            By Android            Install path: extras\android\support ---------- id: 87 or "extra-google-admob_ads_sdk"      Type: Extra      Desc: Google AdMob Ads SDK, revision 11 (Obsolete)            By Google Inc.            AdMob Ads SDK            Install path: extras\google\admob_ads_sdk ---------- id: 88 or "extra-google-analytics_sdk_v2"      Type: Extra      Desc: Google Analytics App Tracking SDK, revision 3            By Google Inc.            Analytics App Tracking SDK            Install path: extras\google\analytics_sdk_v2 ---------- id: 89 or "extra-google-gcm"      Type: Extra      Desc: Google Cloud Messaging for Android Library, revision 3 (Obsolete)            By Google Inc.            GCM library has been moved to Google Play Services 

Now:

android update sdk --no-ui -a --filter "extra-android-m2repository" 

Hope this helps someone. I wasted a LOT of time tracking this guy down.

like image 57
tyler Avatar answered Oct 05 '22 01:10

tyler