Available at: https://github.com/patrickfav/uber-apk-signer

MASTG-TOOL-0103: uber-apk-signer

A tool that helps to sign, zip align and verify one or more Android application packages (APKs) with either debug or provided release certificates. It supports v1, v2, v3 and v4 Android signing schemes. Easy and convenient debug signing with embedded debug keystore. Automatically verifies signature and zip alignment after signing.

Download the jar from the latest release and run:

$ java -jar uber-apk-signer.jar --apks </path/to/apks>

Demo:

asciicast

For more information go to the GitHub repository.