adb_build_and_install
Build a debug APK from an Android project and install it on the connected device, combining compilation and deployment in one step.
Instructions
Build a debug APK and install it on the connected device (convenience wrapper)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectPath": "<projectPath>"
},
"name": "adb_build_and_install"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | Device serial | |
| timeout | No | Build+install timeout in milliseconds (30s-30min, default 5min). V5 fix. | |
| projectPath | Yes | Path to the Android project root |