install_adb_package
Installs a local APK on a connected Android device, optionally replacing an existing package while keeping its data, and returns the device’s Success/Failure verdict with reason.
Instructions
Install one local APK on the device (adb install [-r]), recording the APK's host digest and byte size. A device-mutating tool: replace re-installs over an existing package while keeping its data; the device's own Success/Failure verdict is preserved with its reason.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | Yes | Device serial exactly as `adb devices` reports it | |
| replace | No | Replace an existing installation and keep its data (adb install -r) | |
| apk_path | Yes | Existing local APK file to install | |
| analysis_project_id | No | Optional investigation to retain this tool result in. Does not prove target identity or causal relationships. |