Skip to main content
When to use it. Your agent changed Kotlin or Gradle files and you want to know they compile, without an Android SDK on your machine

Run it

box build --platform android running Gradle and saving the APK

XenoCI Box uploads the changed files, runs Gradle assembleDebug and saves the debug APK. Here on android/compose-samples JetLagged (Apache 2.0)
Job bj__ad3mDX3BXh16XQO on a production Android machine: 60s billed, $0.02
The JetLagged build running on an Android emulator

What you get

  • .box/out/<job>/app-debug.apk, the debug APK, and build.log, the whole Gradle log
  • The Gradle cache stays between jobs of the same project, so the next build is incremental (the run above: 37 tasks up to date)
  • A failed build exits 1 and prints Gradle’s errors; box why reads the log for the cause
box build --device-build is iOS only and exits 2 with --platform android