I was trying to publish my first Cordova app on Google Playstore. When I upload my release apk, it shows below warning and I cannot rollout the release.
Unoptimized
According to your mention problem, you can solve in cordova 9.0.0 by this way:
Go to your respective project directory, then go to platforms/android directory, then open cmd/terminal and write this command as gradlew bundle. After completing this process, It'll be generated app.aab. You can find the output into the outputs/bundle directory.