How to create unsigned and non-zipaligned APK using command line

When I use >ionic cordova build android --release, It always generates a bundle file “app. aab” but I need a .apk file as my app is pre-Aug-2021 and our release team requires an unsigned and non-zip aligned .apk file for publishing an update to the app.