Demo for an Android app CI/CD pipeline.
- Android Gradle Plugin 9.2.1 (built-in Kotlin support)
- Gradle 9.6.1
- compileSdk 37, targetSdk / minSdk 36 (Android 16)
- Build image: mobiledevops/android-sdk-image (JDK 21, platform android-36, build-tools 36.1.0)
- GitLab CI/CD: .gitlab-ci.yml (Pipelines: https://gitlab.com/mobiledevops/android-ci-demo/pipelines)
- Runs
./gradlew clean assembleRelease --stacktraceonmobiledevops/android-sdk-image:latest
- Runs
Build the app inside the CI base image:
docker build --pull -t android-ci-demo .The image is pinned to linux/amd64: Google does not ship a linux-arm64
aapt2, so Android resource builds require amd64. On Apple Silicon the
build runs under emulation.
- Unit / ui testing
- Different app configuration (bundle id)
- Signing the app with different key stores
- Crash reporting integration
- Analytics integration
- Upload to Google Play Store