You are on page 1of 1

Android Developers

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 congure your continuous
integration server to use the Android Emulator (https://developer.android.com/studio
/run/emulator-commandline.html)

or use Firebase Test Lab (https://rebase.google.com/docs/test-lab/)

to run your tests.


For specic information about conguring continuous integration for your Android
project using Jenkins and Firebase Test Lab, see Using Firebase Test Lab for
Android with Continuous Integration Systems (https://rebase.google.com/docs/testlab/continuous).

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. (https://developer.android.com/studio
/intro/update.html#download-with-gradle)

You might also like