recompile_align_and_sign
recompile_align_and_signRepack a decompiled APK workspace, align it with zipalign, and sign with apksigner using auto-generated or custom keystore to output a verified installable APK.
Instructions
Repack the decompiled APK workspace with apktool, run zipalign for 4-byte alignment, and sign with apksigner using V1/V2/V3 schemes. Uses an auto-generated debug keystore unless a custom keystoreConfig is provided. Returns the verified, aligned, installable APK path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspaceDir | Yes | ||
| outputApkPath | Yes | ||
| keystoreConfig | No |