AndroidX overview (original) (raw)

The androidx namespace comprises the Android Jetpack libraries. Like the Support Library, libraries in the androidx namespace ship separately from the Android platform and provide backward compatibility across Android releases.

AndroidX is a major improvement to the original AndroidSupport Library, which is no longer maintained.androidx packages fully replace the Support Library by providing feature parity and new libraries.

In addition, AndroidX includes the following features:

Using androidx libraries in your project

See Migrating to AndroidX to learn how to migrate an existing project.

If you want to use androidx-namespaced libraries in a new project, you need to set the compile SDK to Android 14.0 (API level 34) or higher and set both of the following Android Gradle plugin flags to true in yourgradle.properties file.

API Reference

All the packages and classes in the androidx namespace can be found in theAndroidX reference section.

Additional Resources

Learn more about components on the Jetpack home page. For more information about the package refactoring from the Support Library to androidx, see the blog poston that topic.