Build For Android


  • Android Studio

  • Updated Android SDK tools, platform and component dependencies. Available through Android Studio’s SDK Manager Add android platform with the CLI :

$ ionic platform add android
$ ionic build android

Android Production Builds (release.apk)/Publishing your app

$ cordova plugin rm cordova-plugin-console
$ cordova build --release android
$ keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000
$ jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.keystore HelloWorld-release-unsigned.apk alias_name
$ zipalign -v 4 HelloWorld-release-unsigned.apk HelloWorld.apk