Jetpack is a suite of libraries, tools, and guidance to help developers write high-quality apps easier. These components help you follow best practices, free you from writing boilerplate code, and simplify complex tasks, so you can focus on the code you care about.
Jetpack comprises the androidx.* package libraries, unbundled from the platform APIs. This means that it offers backward compatibility and is updated more frequently than the Android platform, making sure you always have access to the latest and greatest versions of the Jetpack components.
Android Jetpack Components
Android Jetpack components are a collection of libraries that are individually adoptable and built to work together while taking advantage of Kotlin language features that make you more productive. Use them all or mix and match!
Foundation components provide cross-cutting functionality like backwards compatibility, testing and Kotlin language support.
Write more concise, idiomatic Kotlin code
Degrade gracefully on older versions of Android
Components to help develop Android apps for cars
Quickly benchmark your Kotlin-based or Java-based code from within Android Studio
Provide support for apps with multiple DEX files
Read and write encrypted files and shared preferences by following security best practices.
An Android testing framework for unit and runtime UI tests
Components to help develop apps for Android TV
Wear OS by Google
Components to help develop apps for Wear
Architecture components help you design robust, testable and maintainable apps.
Declaratively bind observable data to UI elements
Manage your activity and fragment lifecycles
Notify views when underlying database changes
Handle everything needed for in-app navigation
Gradually load information on demand from your data source
Fluent SQLite database access
Manage UI-related data in a lifecycle-conscious way
Manage your Android background jobs
Behavior components help your app integrate with standard Android services like notifications, permissions, sharing and the Assistant.
Easily add camera capabilities to your apps
Media & playback
Backwards-compatible APIs for media playback and routing (including Google Cast)
Provides a backwards-compatible notification API with support for Wear and Auto
Compatibility APIs for checking and requesting app permissions
Create interactive settings screens
Provides a share action suitable for an app’s action bar
Create flexible UI elements that can display app data outside the app
UI components provide widgets and helpers to make your app not only easy, but delightful to use. Learn about Jetpack Compose, which helps simplify UI development.
"WorkManager has simplified the way redBus app delivers information to it's backend servers. WorkManager library's capability to handle parameters like network connectivity, battery and use appropriate handlers like AlarmManager or JobScheduler has enabled us to concentrate on building business logics and offloading execution complexity to WorkManager."
Dinesh Shanmugam, Android Lead, redBus.in
“Android Jetpack Navigation is well-designed and fully configurable. We refactored our legacy navigation drawer using custom views, and it allowed us to get rid of all anti-patterns. We intend to adopt it more broadly across our app.”
Emery Coxe, Android Lead, HomeAway
"Strong support in Android Studio with plentiful static checks is a key ingredient that makes working with Room so enjoyable."
Adam Simek, Engineer, Strava
"Getting started with Room was easy and straightforward. It definitely makes us write cleaner code and helps us avoid many types of errors from the get-go."
Sergio Teran, Android engineer, iHeartRadio