cordova platform add android
ionic build --release android
This will show the console log messages while the app is running, which is very helpful for debugging.
ionic run --livereload --consolelogs
Use version 1.0.0 of cordova-google-analytics-plugin because of this issue causing App Store rejections.