ionic build release code example
Example 1: generate apk ionic 1
$ ionic cordova build --release android
Example 2: ionic build
ionic cordova build [options]
$ ionic cordova build --release android
ionic cordova build [options]