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.
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.