Automatically Sign Your Android APK At Build Time With Ionic

Posted By Weston Ganger

Its a hassle to manually sign your APK’s after you build them, you should definately automate this.

Its so simple, heres how:

Firstly create a keystore file if you haven’t already:

keytool -genkey -v -keystore /path/to/yourName.keystore -alias your_alias_name -keyalg RSA -keysize 2048 -validity 10000

Next create the file platforms/android/

# platforms/android/


# add these too if you dont want to manually enter your keystore and key password every time

Now they will be signed during the build process with ionic build --release android

Related External Links:

Article Topic:Software Development - Ionic

Date:December 01, 2015