Building and publishing an app for Android
Building and publishing an Android app is a little more straightforward than iOS because you just interface with the command line to build an .apk
file and upload it to Google Play Developer Console. The Ionic Framework documentation also has a great instruction page for this, which can be viewed by visiting http://ionicframework.com/docs/guide/publishing.html.
Getting ready
The requirement is to have your Google Developer account ready and log in to https://play.google.com/apps/publish. Your local environment should also have the right SDK as well as the keytool, jarsigner, and zipalign command line for that specific version.
How to do it...
Here are the instructions to build and publish an app for Android:
- Go to your
app
folder and build the release for Android:$ ionic build --release android
- You will see
android-release-unsigned.apk
in theapk
folder under/platforms/android/build/outputs
. Go to this folder in the Terminal: - If you're creating...