Android Studio

Support Library Revision Archive

This page provides details about older Support Library package releases. For the most recent Support Library releases, see Recent Support Library Revisions.

Revision 26.0.0 Beta 2

(June 2017)

Please note that 26.0.0-beta2 is a pre-release version. Its API surface is subject to change, and it does not necessarily include features or bug fixes from the latest stable versions of Support Library.

Important: The support libraries are now available through Google's Maven repository. You do not need to download the support repository from the SDK Manager. For more information, see Support Library Setup.

New APIs

API Diffs

Bug fixes

Revision 26.0.0 Beta 1

(May 2017)

Please note that 26.0.0-beta1 is a pre-release version. Its API surface is subject to change, and it does not necessarily include features or bug fixes from the latest stable versions of Support Library.

Important: The support libraries are now available through Google's Maven repository. You do not need to download the support repository from the SDK Manager. For more information, see Support Library Setup.

Important changes

New APIs

Known Issues

Bug fixes

Revision 26.0.0 Alpha 1

(March 2017)

Please note that 26.0.0-alpha1 is a pre-release version. Its API surface is subject to change, and it does not necessarily include features or bug fixes from the latest stable versions of Support Library.

Important changes

Note: The minimum SDK version has been increased to 14. As a result, many APIs that existed only for API < 14 compatibility have been deprecated. Clients of these APIs should migrate to their framework equivalents as noted in the reference page for each deprecated API.

New APIs

Many new classes, methods, and constants added to provide backwards-compatible support for platform APIs added in O Preview.

For a complete list of API changes between 25.2.0 and 26.0.0-alpha1, see the support library API differences report.

Bug fixes

Revision 25.4.0

(June 2017)

Important: The support libraries are now available through Google's Maven repository. You do not need to download the support repository from the SDK Manager. For more information, see Support Library Setup.

Important changes

New and Modified APIs

Path morphing and path interpolation are supported in AnimatedVectorDrawableCompat. Path morphing allow the shapes changing from one path (specified as android:valueFrom) to another path (specified as android:valueTo), in order to provide complex and attractive visual effects. Path interpolation allows the interpolators for AnimatedVectorDrawableCompat to be specified as paths (specified as android:pathData in the interpolator’s XML).

API Diffs

Fixed issues

Revision 25.3.1

(March 2017)

Fixed issues

Revision 25.3.0

(March 2017)

Important changes

Support Library version metadata will automatically be added to AndroidManifest.xml when building from Gradle, which simplifies tracking versions in public builds. For example:

<meta-data android:name="android.support.VERSION" android:value="25.3.0" />

Deprecations

A number of methods and classes have been deprecated in this release. These deprecated APIs will be removed in a future version and developers should migrate away from them. For more information on how to migrate away from a specific API, refer to its documentation.

ExifInterface
The boolean method getLatLong(float[]) is deprecated. Instead, use the new method getLatLong(), which takes no arguments and returns double[].
mediacompat
PlaybackStateCompat.Builder.setErrorMessage(CharSequence) is deprecated. Instead, use the new method setErrorMessage(int, CharSequence), which is passed an error code and an optional description.
EXTRA_SUGGESTION_KEYWORDS is deprecated. Instead, use the MediaBrowserCompat search functionality.
v7.recyclerview
LinearLayoutManager.getInitialItemPrefetchCount() has been renamed to LinearLayoutManager.getInitialPrefetchItemCount(). The old name is still supported but will be removed in a future release.

New and Modified APIs

appcompat-v7
The new method ActionBarDrawerToggle.setDrawerSlideAnimationEnabled(boolean) simplifies disabling the navigation drawer toggle icon's animation.
customtabs
Added support for message channels. See the CustomTabsService.requestPostMessageChannel() and CustomTabsService.postMessage() reference for details.
dynamic-animation
New physics-based animation library that provides a set of APIs for building animations that dynamically react to user input.
leanback-v17
Added support for parallax backgrounds. See the Parallax reference for details.
Added TimePicker widget for picking times on a TV interface.
mediacompat
Added search functionality. See the MediaBrowserCompat.search() and MediaBrowserServiceCompat.onSearch() reference for details.
Added support for shuffle and repeat modes. See the MediaSessionCompat.setRepeatMode() and setShuffleModeEnabled() reference for details.

Fixed issues

Revision 25.2.0

(February 2017)

Important Changes

Fixed issues

Fixed issues

Revision 25.1.1

(January 2017)

Important: There is a known bug in the android.support.v7.media.MediaRouter class in revision 25.1.1 and 25.1.0 of the Support Library. If your app uses the v7 MediaRouter, you should update to Support Library Revision 25.2.0, which fixes this bug.

Important Changes

Fixed issues

Revision 25.1.0

(December 2016)

Important: There is a known bug in the android.support.v7.media.MediaRouter class in revision 25.1.1 and 25.1.0 of the Support Library. If your app uses the v7 MediaRouter, you should update to Support Library Revision 25.2.0, which fixes this bug.

Important Changes

New and Modified APIs

Fixed issues

A complete list of public bug fixes is available on the AOSP Issue Tracker.

Deprecations

A number of methods and classes have been deprecated in this release. These deprecated APIs will be removed in a future version and developers should migrate away from them. For more information on how to migrate away from a specific API, refer to its documentation.

Revision 25.0.1

(November 2016)

Fixed issues

A complete list of public bug fixes is available on the AOSP Issue Tracker.

Revision 25.0.0

(October 2016)

Important changes

New APIs

Fixed issues

A complete list of public bug fixes is available on the AOSP Issue Tracker.

Revision 24.2.1

September 2016

Fixed issues:

A complete list of public bug fixes is available on the AOSP Issue Tracker.

Revision 24.2.0

August 2016

Release 24.2.0 contains the following changes:

Note: Release 24.2.0 removes support for Android 2.2 (API level 8) and lower. Classes and methods that exist only to serve those system versions are now marked as deprecated and should no longer be used. These deprecated classes and methods may be removed in a future release.

v4 Support Library split

With this release, the v4 Support Library has been split into several smaller modules:

support-compat
Provides compatibility wrappers for new framework APIs, such as Context.getDrawable() and View.performAccessibilityAction().
support-core-utils
Provides a number of utility classes, such as AsyncTaskLoader and PermissionChecker.
support-core-ui
Implements a variety of UI-related components, such as ViewPager, NestedScrollView, and ExploreByTouchHelper.
support-media-compat
Backports portions of the media framework, including MediaBrowser and MediaSession.
support-fragment
Backports the fragment framework. This module has dependencies on support-compat, support-core-utils, support-core-ui, and support-media-compat.

For backwards compatibility, if you list support-v4 in your Gradle script, your APK will include all of these modules. However, to reduce APK size, we recommend that you just list the specific modules your app needs.

API updates

Behavior changes

MediaRouter library

Bluetooth devices are no longer listed as media routes. Routing audio to Bluetooth devices is now solely controlled at the Android system level.

Deprecations

Deprecated classes and methods are subject to removal in a future release. You should migrate away from these APIs as soon as possible.

Bug fixes

The following known issues have been fixed with release 24.2.0:

A complete list of public bug fixes is available on the AOSP Issue Tracker.

Revision 24.1.1

July 2016

Fixed issues:

Revision 24.1.0

July 2016

Changes for v4 Support Library:

Fixed issues:

Revision 24.0.0

June 2016

Changes for v4 Support Library:

Note: Only MediaBrowserServiceCompat in version 24.0.0 is forward-compatible with future versions of Android beyond API 24. If you are using previous versions, update to this version to ensure compatibility.

Changes for v7 appcompat library:
Changes for Design Support Library:
Changes for v17 Leanback library:
Changes for custom tabs:

Revision 23.4.0

May 2016

Changes for v4 Support Library:
Changes for v7 appcompat library:
Changes for Design Support Library:
Changes for Vector Drawable library:

Revision 23.3.0

April 2016

Changes for v4 Support Library:
Changes for v7 appcompat library:
Changes for v7 mediarouter library:
Changes for v7 Preference library:
Changes for v7 recyclerview library:
Changes for Design Support Library:

Revision 23.2.1

March 2016

Changes for v4 Support Library:
Changes for v7 appcompat library:
Changes for v7 cardview library:
Changes for v7 recyclerview library:
Changes for v7 mediarouter library:
Changes for v17 Leanback Library:
Changes for Design Support Library:
Changes for VectorDrawableCompat:

Revision 23.2.0

February 2016

Changes for v4 Support library:
Changes for v7 AppCompat library:
Changes for v7 mediarouter library:
Changes for Design support library:
Changes for the CustomTabs support library:
Added VectorDrawable support library:
Changes for v17 Leanback Library:
Changes for v7 RecyclerView library:

Revision 23.1.1

November 2015

Changes for v7 recyclerview library:
Changes for v7 preference library:
Changes for v17 Leanback Support library:
Changes for Design Support library:

Revision 23.1.0

October 2015

Changes for v4 Support library:
Changes for v7 appcompat library:
Changes for v7 mediarouter library:
Changes for v7 palette library:
Changes for v7 recyclerview library:
Changes for v7, v14, and v17 Preference Support library:
Changes for v17 Leanback Support library:
Changes for Design Support library:
Changes for Custom Tabs Support library:

Revision 23.0.1

September 2015

Changes for v7 and v14 Preference Support library:
Changes for v7 appcompat library:
Changes for Design Support library:
Changes for Custom Tabs Support library:

Revision 23

August 2015

Added new support libraries:

For a complete list of the Support Library changes, see the Support Library API Differences Report.

Revision 22.2.1

July 2015

Changes for Design Support library:

For a complete list of the Support Library changes, see the Support Library API Differences Report.

Revision 22.2.0

May 2015

Added Design Support library:
Changes for v4 support library:
Changes for v7 appcompat library:

For a complete list of the Support Library changes, see the Support Library API Differences Report.

Revision 22.1.0

April 2015

Changes for annotations library:
  • Added the Annotations library to provide support for enhanced code inspections. Annotations are added as metadata tags that you attach to variables, parameters, and return values to inspect method return values, passed parameters, and local variables and fields.
Changes for v4 support library:
Changes for v7 appcompat library:
Changes for v17 leanback library:
Changes for v7 recyclerview library:
Changes for v8 renderscript library:

Revision 22

March 2015

Changes for v4 support library:
Changes for v7 appcompat library:
Changes for v17 leanback library:
Changes for v7 mediarouter library:
Changes for v7 recyclerview library:

Revision 21.0.3

December 2014

Changes for v4 support library:

Revision 21.0.2

November 2014

Changes for v4 support library:
Changes for v7 appcompat library:
  • Added the PopupMenu constructor to support new popup menus.
  • Added support for a Collapse icon description in the Toolbar class.
  • Updated the SearchView widget to support displaying the commitIcon.
  • Removed the buttonGravity attribute from the Toolbar class.
Changes for v7 cardview library:
Changes for v7 recyclerview library:
Changes for v17 leanback library:
  • Added support to generate v4 code fragments.
  • Changed the secondary text color on CardView.

Revision 21.0.1

November 2014

Added multidex support library to support multiple Dalvik Executable (DEX) files for multi-dex file support prior to Android 5.0.

Revision 21

October 2014

Changes for v4 support library:
  • Added support for Fragment transitions for devices running Android 5.0 (API level 21). Be aware that transitions have no effect on devices running Android 4.4 and lower.
  • Added DocumentFile to ease the transition from File while working with document trees. However, this class demands more processing overhead compared to the platform's DocumentsContract API added in Android 4.4 (API level 19). So you should switch to using DocumentsContract when running on Android 4.4 and higher.
Changes for v7 appcompat library:
  • Added support for material design user interfaces.
  • Added Toolbar, which generalizes the functionality of ActionBar for use within app layouts.
  • Updated ActionBarDrawerToggle, which contains the menu-to-arrow animation
  • Updated common user interface widgets to allow tinting via theme attributes when running on pre-Android 5.0 devices
  • Added SwitchCompat, a backport of the Switch widget that was added in Android 4.0 (API level 14).
New v7 cardview library:
  • Added the CardView widget, which provides a material design-compatible implementation for displaying data items.
New v7 recyclerview library:
  • Added the RecyclerView widget, which provides a flexible list view for providing a limited window into a large data set.
New v7 palette library:
  • Added Palette class, which lets you extract prominent colors from an image.
New v17 leanback library:

Revision 20

July 2014

Changes for v4 support library:

Revision 19.1.0

March 2014

Changes for v4 support library:
  • Added the SwipeRefreshLayout class, which enables users to refresh the contents of a view with a vertical swipe gesture.
  • Fixed accessibility issues with navigation drawers.
Changes for v7 appcompat library:
  • Fixed background issues with the action bar.

Revision 19.0.1

December 2013

Changes for v4 support library:
Changes for v7 mediarouter library:
Changes for v8 renderscript library
  • Added error propagation for the RenderScript thunking layer.

Revision 19

October 2013

Changes for v4 support library:
Changes for v7 mediarouter library:
  • Added support for media playback queuing, setting HTTP header values and media playback duration.
  • Added explicit start, get, and end session actions for explicitly managing media playback sessions with media router.

Revision 18

July 2013

Changes for v4 support library:
New v7 appcompat library:
  • Added ActionBar to allow implementation of the action bar user interface design pattern back to Android 2.1 (API level 7) and higher. Use of this class requires that you implement your activity by extending the new ActionBarActivity class.
New v7 mediarouter library:

Added a new mediarouter library that provides support for the Google Cast developer preview. The v7 mediarouter library APIs provide a means of controlling the routing of media channels and streams from the current device to external screens, speakers, and other destination devices, with compatibility back to Android 2.1 (API level 7). See V7 mediarouter library for more information.

The v7 mediarouter library APIs introduced in Support Library r18 are subject to change in later revisions of the Support Library. At this time, we recommend using the library only in connection with the Google Cast developer preview.

Revision 13

May 2013

Changes for v4 support library:
New v7 gridlayout library:

Revision 12

February 2013

Changes for v4 support library:

Revision 11

November 2012

Changes for v4 support library:

Revision 10

August 2012

Changes for v4 support library:

Revision 9

June 2012

Changes for v4 support library:

Revision 8

April 2012

Changes for v4 support library:

Revision 7

March 2012

Changes for v4 support library:

Revision 6

December 2011

Note: Reference for support library APIs are now available with the framework references, for example: android.support.v4.app.

Changes for v4 support library:

Revision 5

December 2011

Changes for v4 support library:

Revision 4

October 2011

Changes for v4 support library:

Revision 3

July 2011

Changes for v4 support library:
New v13 support library:

Revision 2

May 2011

Changes for v4 library:

Revision 1

March 2011

Initial release with the v4 library.