We are rolling out a new package structure to make it clearer which packages
are bundled with the Android operating system, and which are packaged with
your app's APK. Going forward, the
android.* package hierarchy will be
reserved for Android packages that ship with the operating system; other
packages will be issued in the new
androidx.* package hierarchy.
Existing packages are being refactored to use the new hierarchy. Historical
artifacts—those versioned 27 and earlier, and packaged as
remain available on Google Maven; however, all new development
will occur in the new
androidx.*-packaged artifacts versioned starting from
The new artifacts will follow Semantic Versioning,
and will update independently, instead of all at once. Following this
restructuring, it will be possible to update AndroidX libraries in your project
independently. This avoids the problem of updating many Support Library modules
in your project from e.g.
27.0.0 all at once.
If you create a new project using the androidx-packaged dependencies (as
opposed to refactoring an existing project with the Android Studio tool), your
new project needs to target API level 28, and you will need to add the following lines to your