I am unable find the source when after I downloaded the SDK. Has it been removed from public access?
The name of these packages ends with the minimum version of Android API supported by the libraries. For example, package name support-v4 and the support-v7 indicate that the minimum supported Android API version is 4 and 7 respectively.
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.
Some of the src
folders on my copy of the samples, found at $SDK_DIR/extras/android/support/
seem to be empty. For example, v7/gridlayout/src/
is an empty folder, but most of my v4
folders have the source code supplied alongside the download from the SDK Manager, so I'm going to guess you and I are seeing the same issue.
However, you can always download the source directly from the source (no pun intended):
Doing a git clone https://android.googlesource.com/platform/frameworks/support/
to download the support library files direct from Google's repository seems to contain all of the source files.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With