Convert .aab > installable .apk
qa_bundletoolConverts an Android .aab into an installable APK with bundletool, caching artifacts for QA setup; optionally builds a device-specific APK set or installs it with consent.
Instructions
Convert an .aab into an installable APK with bundletool (cached in .swipium/artifacts/) before qa_prepare_target. Default: a universal APK; connectedDevice:true builds a device APK set, install:true installs it (consent-gated). Runs as a job.
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": {
"sessionId": "<sessionId>"
},
"name": "qa_bundletool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| aab | No | Default: the best .aab in the project. | |
| force | No | Rebuild even if cached. | |
| device | No | adb serial (default: session device, else SWIPIUM_DEVICE, else the only one). | |
| approve | No | ||
| install | No | With connectedDevice: install-apks on the device (consent-gated). | |
| consentId | No | ||
| sessionId | Yes | ||
| connectedDevice | No | Device-specific APK set (--connected-device). |