Set up continuous integration
Stay organized with collections
Save and categorize content based on your preferences.
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
Start testing with continuous integration (CI)
systems.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2023-04-12 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-04-12 UTC."],[],[],null,["# Set up continuous integration\n\nContinuous integration systems let you automatically build and test your app\nevery time you check in updates to your source control system. You can use any\ncontinuous integration tool that can initiate a Gradle build to build your\nAndroid Studio projects.\n\nTo run tests as part of the build, you need to either configure\nyour continuous integration server to use the\n[Android Emulator](/studio/run/emulator-commandline) or use\n[Firebase Test Lab](https://firebase.google.com/docs/test-lab/)\nto run your tests.\n\nFor specific information about configuring continuous integration for your\nAndroid project using Jenkins and Firebase Test Lab, see\n[Start testing with continuous integration (CI)\nsystems](https://firebase.google.com/docs/test-lab/continuous).\n| **Note:** You must 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 can [accept licenses from the\n| command line using\n| `sdkmanager`](/studio/command-line/sdkmanager#accept-licenses)."]]