Jetpack is a suite of libraries to help developers follow best practices, reduce boilerplate code, and write code that works consistently across Android versions and devices so that developers can focus on the code they care about.
Jetpack Compose
A modern toolkit for building native UI that enables you to simplify and accelerate UI development on Android.

Learn to use Jetpack

Learn the essential Jetpack libraries in the Android Basics with Compose course and reduce boilerplate in your app
Get hands-on with three Jetpack libraries that simplify your data layer: LiveData, ViewModel and Room
Explore how modern Android architecture is implemented in a real world app

* Popular and often-used libraries are listed first

activity *Access composable APIs built on top of Activity.
appcompat *Allows access to new APIs on older API versions of the platform (many using Material Design).
appsearch *Build custom in-app search capabilities for your users.
camera *Build mobile camera apps.
compose *Define your UI programmatically with composable functions that describe its shape and data dependencies.
databinding *Bind UI components in your layouts to data sources in your app using a declarative format.
fragment *Segment your app into multiple, independent screens that are hosted within an Activity.
hilt *Extend the functionality of Dagger Hilt to enable dependency injection of certain classes from the androidx libraries.
lifecycle *Build lifecycle-aware components that can adjust behavior based on the current lifecycle state of an activity or fragment.
Material Design Components * Modular and customizable Material Design UI components for Android.
navigation *Build and structure your in-app UI, handle deep links, and navigate between screens.
paging *Load data in pages, and present it in a RecyclerView.
room *Create, store, and manage persistent data backed by a SQLite database.
test *Testing in Android.
work *Schedule and execute deferrable, constraint-based background tasks.
adsGet an advertising ID with or without Play Services.
annotationExpose metadata that helps tools and other developers understand your app's code.
arch.coreHelper for other arch dependencies, including JUnit test rules that can be used with LiveData.
asynclayoutinflaterInflate layouts asynchronously to avoid jank in the UI.
autofillImprove autofill accuracy via extending hints.
benchmarkAccurately measure your code's performance within Android Studio.
biometricAuthenticate with biometrics or device credentials, and perform cryptographic operations.
bluetoothUse the Android platform's Bluetooth features with backward-compatible APIs.
browserDisplay webpages in the user's default browser.
camera.media3TODO
camera.viewfinderStandalone Composable and View based Viewfinder for Camera"
car-appBuild templated apps for Android Auto and Android Automotive OS.
cardviewImplement the Material Design card pattern with round corners and drop shadows.
collectionReduce the memory impact of existing and new collections that are small.
compose.animationBuild animations in their Jetpack Compose applications to enrich the user experience.
compose.compilerTransform @Composable functions and enable optimizations with a Kotlin compiler plugin.
compose.foundationWrite Jetpack Compose applications with ready to use building blocks and extend foundation to build your own design system pieces.
compose.materialBuild Jetpack Compose UIs with ready to use Material Design Components. This is the higher level entry point of Compose, designed to provide components that match those described at www.material.io.
compose.material3Build Jetpack Compose UIs with Material Design 3 Components, the next evolution of Material Design. Material 3 includes updated theming and components and Material You personalization features like dynamic color, and is designed to be cohesive with the new Android 12 visual style and system UI.
compose.material3.adaptiveUse the Material 3 adaptive library to create adaptive UIs that will adapt themselves automatically according to the current window configurations like window size classes or device postures. The library provides both default scaffold implementations and necessary building block composables to create your own custom experiences.
compose.runtimeFundamental building blocks of Compose's programming model and state management, and core runtime for the Compose Compiler Plugin to target.
compose.uiFundamental components of compose UI needed to interact with the device, including layout, drawing, and input.
concurrentMove tasks off the main thread with coroutines and take advantage of ListenableFuture.
constraintlayoutPosition and size widgets in a flexible way with relative positioning.
contentpagerLoad and page across ContentProvider data in a background thread.
coordinatorlayoutPosition top-level application widgets, such as AppBarLayout and FloatingActionButton.
coreTarget the latest platform features and APIs while also supporting older devices.
core.uwbImplement UWB (ultra-wideband) on supported devices.
credentials This library provides unified access to a user's credentials. This can include passwords, passkeys and federated credentials. This library should be used to provide seamless and secure sign-in experiences.
credentials.registryTo solve for these, we are adding a new registry mechanism that allows an app to provide digital credentials in a privacy-preserving way. At a high level, the provider app will be pre-registering all their candidate digital credentials with the Credential Manager; When Credential Manager receives an app request for a specific digital credential, it will run the credential matching and user selector UI in a sandbox.
cursoradapterExpose Cursor data to a ListView widget.
customviewImplement custom views.
datastoreStore data asynchronously, consistently, and transactionally, overcoming some of the drawbacks of SharedPreferences
documentfileView a file document.
draganddropAccept drag-and-drop data from another app or within an app, and show a consistent drop target affordance.
drawerlayoutImplement a Material Design drawer widget.
dynamicanimationCreate smooth animations with a physics-based animation API.
emojiDisplay emoji in current and older devices.
emoji2Display emoji in current and older devices.
enterpriseCreate enterprise-ready applications.
exifinterfaceRead and write image file EXIF tags.
gamesUse the Android Game SDK natively in your app to perform complex games tasks, like Frame Pacing.
glanceBuild layouts for remote surfaces using a Jetpack Compose-style API.
graphicsLeverage graphics facilities across multiple Android platform releases
gridlayoutImplement a grid layout.
healthCreate performant health applications in a platform agnostic way.
health.connectAllows developers to read or write user's health and fitness records.
heifwriterEncode an image or image collection in HEIF format using the available codecs on the Android device.
inkInspire best-in-class pen apps. Lower the developer barrier to entry for high performance, beautiful inking experiences.
inputReduce the latency of input interactions by predicting future MotionEvents
interpolatorUse animation interpolators on older platforms.
javascriptengineEnable your Android app to evaluate JavaScript.
jetifierA standalone tool that migrates a library's dependencies on the deprecated support library to equivalent AndroidX dependencies.
leanbackUse Compose for TV instead of this artifact.
legacyThis artifact and its classes are deprecated. Starting with Android 8, background check restrictions make this class no longer useful.
lintLint checks to verify usage of Gradle APIs
loaderLoad data for your UI that survives configuration changes.
localbroadcastmanagerThis artifact and its classes are deprecated. Use LiveData or reactive streams instead.
mediaShare media contents and controls with other apps. Superseded by media3.
media2Share media contents and controls with other apps.
media3 *Support libraries for media use cases.
mediarouterEnable media display and playback on remote receiver devices using a common user interface.
multidexDeploy applications with multiple dex files on pre-Android 5 devices.
metricsTrack and report various runtime metrics for your application
paletteExtract representative color palettes from images.
pdfA library to add pdf viewing capabilities inside apps.
percentlayoutThis artifact and its classes are deprecated. Use ConstraintLayout and associated layouts instead.
preferenceBuild interactive settings screens without needing to interact with device storage or manage the UI.
printPrint photos, docs, and other graphics and images from your app.
privacysandbox.activityTODO
privacysandbox.adsThis library enables integration with Privacy Preserving APIs, which are part of Privacy Sandbox on Android.
privacysandbox.pluginsAndroid Privacy Sandbox Sdk Library Gradle Plugin
privacysandbox.sdkruntimeThis library provides components for SdkRuntime aware consumers
privacysandbox.toolsA library to utilize the Privacy Sandbox functionality in Android
privacysandbox.uiTODO
profileinstallerEnables libraries to prepopulate ahead of time compilation traces to be read by ART.
recommendationPromote content to the Android TV Launcher home screen.
recyclerviewDisplay large sets of data in your UI while minimizing memory usage.
remotecallbackCreate a wrapper that makes it easier for developers to provide a PendingIntent.
resourceinspectionSurface the attributes of custom views in Android Studio’s Live Layout Inspector.
savedstateWrite pluggable components that save the UI state when a process dies, and restore it when the process restarts.
securitySafely manage keys and encrypt files and sharedpreferences.
sharetargetProvide backwards compatibility for using shortcuts as direct share targets.
sliceDisplay templated UI elements outside your app.
slidingpanelayoutImplement a sliding pane UI pattern.
startupImplement a straightforward, performant way to initialize components at app startup.
sqliteWork with local SQLite databases. If possible, use Room instead.
swiperefreshlayoutImplement the swipe-to-refresh UI pattern.
test.uiautomatorFramework for cross app functional UI testing
textclassifierIdentifies conversations, links, selections, and other similar constructs in text.
tracingWrite trace events to the system trace buffer.
transitionAnimate motion in the UI with starting and ending layouts.
tvProvides developers with Compose and Material design functionalities in order to write applications for TV
tvproviderProvide Android TV channels.
vectordrawableRender vector graphics.
versionedparcelableProvides a stable and compact binary serialization format that can be passed across processes or persisted safely.
viewpagerDisplay Views or Fragments in a swipeable format. If possible, use viewpager2 instead.
viewpager2Display Views or Fragments in a swipeable format.
wearCreate applications for Wear OS by Google smartwatches.
wear.composeWrite Jetpack Compose applications for Wearable devices by providing functionality to support wearable specific devices, sizes, shapes and navigation gestures.
wear.protolayoutThis library allows defining a set of UI layouts and non-UI expressions to be rendered/evaluated on remote surfaces.
wear.tilesCreate applications for Wear OS by Google smartwatches.
wear.watchfaceCreate applications for Wear OS by Google smartwatches.
webkitWork with modern WebView APIs on Android 5 and above.
windowHelps support different device form factors such as foldable devices.
window.extensions.coreThe Core APIs for Window Manager Library Extensions

Why use Android Jetpack?

Built around modern design practices, Android Jetpack Libraries enable fewer crashes and less memory leaks with backwards-compatibility baked in.
Android Jetpack manages tedious activities like background tasks, navigation, and lifecycle management, so you can focus on what makes your app great.
Reduce complexity with libraries that work consistently across Android versions and devices.

News and videos