sign_apk
Sign an Android APK file using a keystore; only the APK path is required, with defaults for debug signing or custom credentials for production.
Instructions
Sign an APK file using Uber APK Signer. Only apkPath is required - other parameters can use defaults or be configured.
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": {
"apkPath": "<apkPath>"
},
"name": "sign_apk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apkPath | Yes | Path to the APK file to sign (required) | |
| keystorePath | No | Path to the keystore file (defaults to ~/.android/debug.keystore) | ~/.android/debug.keystore |
| keystorePassword | No | Password for the keystore (defaults to "android") | android |
| keyAlias | No | Alias of the key to use for signing (defaults to "androiddebugkey") | androiddebugkey |
| keyPassword | No | Password for the key (defaults to "android") | android |
| outputPath | No | Output path for the signed APK (optional, auto-generated if not provided) |