Google is committed to advancing racial equity for Black communities. See how.

API reference

You can build your Android app with the Android Platform APIs and the following libraries.

Developing with Kotlin?
Check out the Kotlin reference for the Android Platform and AndroidX library.

Note: Many Kotlin reference topics are derived from Java-based source code. This means that some Kotlin reference topics might contain Java code snippets.

Android Support Library

Provides a variety of Android feature and utility APIs that are compatible with a wide range of platform versions.

AndroidX

Refactored versions of the Android APIs that are not bundled with the operating system.

AndroidX Test

Includes APIs for testing your Android app, including Espresso, JUnit Runner, JUnit4 rules, and UI Automator.

AndroidX Constraint Layout

Includes ConstraintLayout and related APIs for building constraint-based layouts.

Architecture Components

Includes APIs for a variety of core app components, such as APIs that manage your UI component lifecycle, data persistence, view model, and more.

Jetpack Compose

Jetpack Compose is a modern toolkit for building native Android UI. Jetpack Compose simplifies and accelerates UI development on Android with less code, powerful tools, and intuitive Kotlin APIs.

Android Automotive Library

Provides APIs for building Android Automotive apps.

Databinding Library

Includes APIs to help you write declarative layouts and minimize the glue code necessary to bind your application logic and layouts.

Material Components

Material Components for Android (MDC-Android) help developers execute Material Design to build beautiful and functional Android apps.

Constraint Layout Library

Legacy Support Library ConstraintLayout and related APIs for building constraint-based layouts.

Android Test Support Library

Includes APIs for testing your Android app, including Espresso, JUnit Runner, JUnit4 rules, and UI Automator.

Android Wearable Library

Provides APIs to build apps for wearable devices running Wear OS by Google.

Android Things Library

Provides APIs to build connected devices running the Android Things platform.

Play In-app Billing Library

Provides APIs to help you implement Google Play's in-app billing and subscription features.

Play Core Library (Java)

Provides APIs to help you request, monitor, and manage on demand downloads for Play Feature Delivery, Play Asset Delivery, and offers additional APIs such as in-app updates and in-app reviews.

Play Core Library (Native)

Native version of the Play Core Library.

Play Core Library (Unity)

Unity version of the Play Core Library.

Play Install Referrer library

Provides APIs to securely retrieve referral content from Google Play.