apk-signer
v0.2.0
Published
Simple command line helper to (re)sign apks
Downloads
51
Maintainers
Readme
apk-signer
simple command line tool for easily signing apks
Installation
npm install -g apk-signer
Options
--help Show help [boolean]
-c Path to JSON config file
-f, --file (relative) path to the apk file [string] [required]
-a, --alias alias_name for your application [required]
-k, --keystore path to the keystore to sign your app with [required]
-s, --storepass password for keystore integrity [required]
-p, --keypass password for private key (if different)
-l, --log File to log stdout to
-o, --output Define output name for signed apk
-v, --version Show version number [boolean]
Example
apk-signer -f android-release-unsigned.apk -a foobar -k foobar.keystore -s foobar
# Optionally specify the wished output filename (.apk will be appended)
apk-signer -f android-release-unsigned.apk -a foobar -k foobar.keystore -s foobar -o foobar
Development
# Generate a new Keystore
keytool -genkey -v -keystore foobar.keystore -alias foobar -keyalg RSA -keysize 2048 -validity 10000