How To Automatically Sign Your Android APK At Build Time With Ionic

Posted by Weston Ganger on December 01, 2015

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:

Posted in Ionic and Tagged with ionic android 

Want me to help develop your next project or application?

Contact Us

Specializing in Ruby-on-Rails, Javascript, Multi-Platform Electron Desktop Apps and Hybrid Cordova Mobile Apps.

Recommended Posts