https://github.com/beevelop/apk-signer
:lock_with_ink_pen: simple command line tool for easily (re)sign apks
https://github.com/beevelop/apk-signer
Last synced: 10 months ago
JSON representation
:lock_with_ink_pen: simple command line tool for easily (re)sign apks
- Host: GitHub
- URL: https://github.com/beevelop/apk-signer
- Owner: beevelop
- License: mit
- Created: 2015-07-26T20:44:41.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2024-11-10T05:14:38.000Z (over 1 year ago)
- Last Synced: 2025-03-28T11:21:16.671Z (11 months ago)
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/apk-signer
- Size: 3.44 MB
- Stars: 19
- Watchers: 2
- Forks: 5
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
[](https://www.npmjs.com/package/apk-signer)
[](https://github.com/beevelop/apk-signer/issues)
[](https://www.bithound.io/github/beevelop/apk-signer)
[](https://travis-ci.org/beevelop/apk-signer)
[](http://standardjs.com/)
[](https://beevelop.com)
# apk-signer
> simple command line tool for easily signing apks
## Installation
```bash
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
```bash
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
```sh
# Generate a new Keystore
keytool -genkey -v -keystore foobar.keystore -alias foobar -keyalg RSA -keysize 2048 -validity 10000
```