Skip to content

Most visited

Recently visited

navigation

Set Up Continuous Integration

Continuous integration systems let you automatically build and test your app every time you check in updates to your source control system. You can use any continuous integration tool that can initiate a Gradle build to build your Android Studio projects.

To run tests as part of the build, you need to either configure your continuous integration server to use the Android Emulator or use Firebase Test Lab to run your tests.

For specific information about configuring continuous integration for your Android project using Jenkins and Firebase Test Lab, see Using Firebase Test Lab for Android with Continuous Integration Systems.

Note: You must use the SDK Manager to accept the license agreements for any packages your app requires on each machine where you build your app. If you have not installed Android Studio on your continuous integration server, you must manually export the license agreements to your build server from a machine where they have been accepted using the SDK Manager before you can build your app on the server. To learn more about the license export process, read Auto-download missing packages with Gradle.

This site uses cookies to store your preferences for site-specific language and display options.

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields

Hooray!

Browse this site in ?

You requested a page in , but your language preference for this site is .

Would you like to change your language preference and browse this site in ? If you want to change your language preference later, use the language menu at the bottom of each page.

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a short survey?
Help us improve the Android developer experience.
(Sep 2017 survey)