Android

Android CI/CD and Release

Android CI/CD and release: GitHub Actions, Fastlane, Play Store, App Bundle, and automation

15 interview questionsยท
Senior
1

What is CI/CD?

Answer

CI/CD stands for Continuous Integration / Continuous Delivery (or Deployment). CI refers to continuous code integration, with automated test execution on each commit to ensure stability. CD focuses on automated delivery or deployment of code to various environments (staging, production). Key benefits include rapid bug detection, more frequent releases, and consistent software quality.

2

How to configure GitHub Actions for Android?

Answer

Create a .github/workflows/android.yml file defining: 1) the trigger (on: push, pull_request), 2) the runner (runs-on: ubuntu-latest), 3) Java setup (actions/setup-java@v3), 4) Gradle cache to speed up builds, 5) ./gradlew build test execution, and 6) artifact upload. Use GitHub secrets for signing keys.

3

What is Fastlane for Android?

Answer

Fastlane is an automation tool that simplifies build, test, signing, and deployment tasks for Android apps. It automates build generation, screenshots, beta distribution, and Play Store publishing. Configuration is done in a Fastfile with lanes (e.g., lane :beta, lane :release).

4

How to automate tests in a CI pipeline?

5

How to publish an app on Google Play Store?

+12 interview questions

Master Android for your next interview

Access all questions, flashcards, technical tests, code review exercises and interview simulators.

Start for free