Build with --prod flag on Ionic Pro

For now, I solve this issue using Android Studio.

I was having trouble with zipalign. I don’t know why that command doesn’t work. But Android Studio can generate an APK signed and zipaligned. So, I just need to run:

ionic cordova build android --prod --release

And use Android Studio to complete the task.

I’ll keep this topic open while I’m waiting the support answer.

1 Like