dtarnawsky opened a new issue #1344: URL: https://github.com/apache/cordova-android/issues/1344
# Bug Report ## Problem If you call `cordova build android --release --packageType=apk` the resulting file is of type .aab (when cordova-android is 10.x) ### What is expected to happen? The --packageType flag should control whether an apk or aab file is generated. If the packageType flag is omitted it should default to apk (according to documentation) but it generates .aab files for release builds. ### What does actually happen? An .aab file is generated (regardless of the --packageType flag) ## Information <!-- Include all relevant information that might help understand and reproduce the problem --> ### Command or Code <!-- What command or code is needed to reproduce the problem? --> `cordova build android --release --packageType=apk` ### Environment, Platform, Device <!-- In what environment, on what platform or on which device are you experiencing the issue? --> Only happens when cordova-android is version 10 or higher ### Version information <!-- What are relevant versions you are using? For example: Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins Other Frameworks: Ionic Framework and CLI version Operating System, Android Studio, Xcode etc. --> Cordova CLI: 10.0.0 Cordova Platforms: android 10.1.0, ios 6.2.0 Android SDK Tools : 26.1.1 (/Users/damian/Library/Android/sdk) ios-deploy : 1.11.4 ios-sim : 8.0.2 NodeJS : v14.17.0 (/usr/local/bin/node) npm : 7.23.0 OS : macOS Big Sur Xcode : Xcode 12.5.1 Build version 12E507 ## Checklist <!-- Please check the boxes by putting an x in the [ ] like so: [x] --> - [x] I searched for existing GitHub issues - [x] I updated all Cordova tooling to most recent version - [ ] I included all the necessary information above -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
