ionic cordova build android code example
Example 1: generate apk ionic 1
$ ionic cordova build --release android
Example 2: ionic cordova generate component
ionic generate component contact/form
for more details of cli commands
https://ionicframework.com/docs/cli/commands/generate
Example 3: ionic build
ionic cordova build [options]
Example 4: build ionic app for android livereload
$ ionic capacitor run android -l --external