Skip to content

Most visited

Recently visited

navigation

Recent Support Library Revisions

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

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

This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a one-minute survey?
Help us improve Android tools and documentation.