Build the APK
First of all we need to build the APK.
ionic build --release android
Generate private Key
Then we will create a keystore to sign the APK.
keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000
Change my-release-key with ...