IMPORTANT: The Bazel docs have moved! Please update your bookmark to

You can read about the migration, and let us know what you think.

Android and Bazel

This page contains resources that help you use Bazel with Android projects. It links to a tutorial, build rules, and other information specific to building Android projects with Bazel.

Getting started

The following resources will help you work with Bazel on Android projects:


Bazel has Android rules for building and testing Android apps, integrating with the SDK/NDK, and creating emulator images. There are also Bazel plugins for Android Studio and IntelliJ.

Further reading