build_apk
Rebuild an APK from an apktool-decoded, edited project directory; output is unsigned and must be signed separately before installation.
Instructions
Rebuild an APK from an apktool-decoded (and possibly edited) project directory. The result is unsigned, so it won't install until you sign it separately. Writes to the workspace's apktool/build directory (overwriting a previous build of the same name) and returns { outputPath, signed: false, stdoutTail, stderrTail? }. Fails if inputDir has no apktool.yml, i.e. isn't a decode_apk output. Requires apktool on PATH.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputDir | Yes | Absolute path to the decoded project directory - the outputDir returned by decode_apk, possibly edited. Must contain apktool.yml. | |
| workspace | No | Workspace name (not id). Created if it doesn't exist, and this call is recorded as a job in its history. Defaults to "default". | |
| outputName | No | Output file name only, not a path (no "/" or ".."). Default "rebuilt.apk". | rebuilt.apk |