build_apk
Build an APK file from a decoded Apktool project, with validation and options for debugging, force rebuild, and custom output path.
Instructions
Build an APK file from a decoded APKTool project with enhanced validation.
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": {
"project_dir": "<project_dir>"
},
"name": "build_apk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| debug | No | Build with debugging info | |
| timeout | No | Command timeout in seconds | |
| force_all | No | Force rebuild all files | |
| output_apk | No | Optional output APK path | |
| project_dir | Yes | Path to the APKTool project directory |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||