継続的インテグレーション システムを構築する
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
継続的インテグレーション システムを使用すると、ソース管理システムの更新をチェックインするたびにアプリを自動的にビルドしてテストすることが可能です。Gradle ビルドを開始できる継続的インテグレーション ツールであればどれでも、Android Studio プロジェクトをビルドできます。
ビルドの一環としてテストを実行するには、Android Emulator を使用するように継続的インテグレーション サーバーを構成するか、Firebase Test Lab を使用してテストを実行する必要があります。
Jenkins と Firebase Test Lab を使用して Android プロジェクト向けの継続的インテグレーションを設定する方法については、継続的インテグレーション(CI)システムを使用してテストを開始するをご覧ください。
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。Java および OpenJDK は Oracle および関連会社の商標または登録商標です。
最終更新日 2025-07-27 UTC。
[null,null,["最終更新日 2025-07-27 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)."]]