Android zip align use compile command

command: cocos compile. -p android --android-studio -m release

Do you have apk signing and zip align in the above command?

I am using cocos2d-x v3.16.

You should switch to Android Studio. We have deprecated using cocos compile for Android for v3.17 which is due to be released soon. We had to do this because Google removed the android command-line tool that we depended upon.