Documentation for app developers

Whether you're building for Android handsets, Wear OS by Google, Android TV, Android Auto, or Android Things, this section provides the guides and API reference you need.

Samples

Android Architecture Blueprints

A collection of samples to discuss and showcase different architectural tools and patterns for Android apps.

Universal Android Music Player Sample

This sample shows how to implement an audio media app that works across multiple form factors and provide a consistent user experience on Android phones, tablets, Auto, Wear and Cast devices.

Android Architecture Components samples

Samples for Android Architecture Components.

Android testing samples

A collection of samples demonstrating different frameworks and techniques for automated testing.

Topeka for Android

A fun to play quiz that showcases material design on Android.

Android NDK Samples

Android NDK samples with Android Studio.

Libraries

Android Architecture components

This library provides APIs for essential app architecture tasks like lifecycle management and data persistence, so you can write modular apps with less boilerplate code.

Support library

The Android Support Library offers backward-compatible versions of a number of features, including others not built into the framework.

Data binding library

The Data Binding Library enables you to write declarative layouts.

Android Test

Android Test helps you build and run test code for your app.

Play Billing library

In-app Billing on Google Play provides a simple interface for sending In-app Billing requests and managing In-app Billing transactions with Google Play.

Developer Tools

Android Emulator

You can install and run your app on the Android Emulator faster than with a physical device. It simulates various device configurations and hardware sensors, and it uses a snapshot to quickly resume exactly where you left off.

Configure your build

Android Studio uses Gradle, an advanced build toolkit, to automate the build process, while allowing you to define flexible, custom build configurations.

Build your UI layout

Android Studio includes a layout editor that allows you to build and preview your app UI by dragging elements into a visual design editor instead of writing layout XML by hand.

Profile your app performance

Poor app performance can ruin the user experience and destroy your app's reputation. If it ever responds slowly, shows choppy animations, freezes, crashes, or consumes a lot of power, your users will notice. To avoid these performance problems, use the Android Profiler to measure your app's memory, CPU, and network usage.

More education

Check out these other resources for beginner and experienced Android developers.

Android codelabs

Codelabs are short, self-paced tutorials that step you through the process of building a particular type of app or adding a new feature to an existing app.

Online video courses

Google partnered with Udacity to teach Android development with online videos. Several free courses are available, or you can enroll in the Nanodegree program.

Training courses

These online trainings provide a guided path through the process of learning how to build Android apps. Courses are available for new and advanced developers.

Latest videos