Build, install and launch
run_appAssemble an app variant, install it on a connected device or emulator, and launch the launcher activity as a job. Use it to deploy and start an Android app directly from an agent.
Instructions
The Android Studio 'Run' button: assemble the variant, install it on the device, and launch the launcher activity. Runs as a job.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| module | No | ||
| serial | No | Target device; optional when exactly one is online | |
| variant | No | debug | |
| waitSec | No | Seconds to wait before returning. If the build is still running, poll with job_status. | |
| projectDir | No | Android project root. Defaults to ANDROID_PROJECT_DIR or the server's cwd. |