Install APK
Overview
Section titled “Overview”Install an APK on a device or emulator. Supports reinstalling while keeping app data and auto-granting permissions.
Parameters
Section titled “Parameters”| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
apkPath | string | Yes | — | Absolute path to the APK file |
deviceId | string | No | — | Target device serial (omit if only one device is connected) |
reinstall | boolean | No | false | Reinstall keeping existing data |
grantPermissions | boolean | No | true | Auto-grant all runtime permissions |
Examples
Section titled “Examples”Install my debug APK on the device
Install the APK at ./app/build/outputs/apk/debug/app-debug.apk
Reinstall the app keeping its data
Related Tools
Section titled “Related Tools”- Launch App — Launch after installing
- Gradle Build — Build the APK first