Google Play shows Unoptimized APK for Cordova App

前端 未结 6 1709
遇见更好的自我
遇见更好的自我 2020-12-08 15:29

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

6条回答
  •  旧巷少年郎
    2020-12-08 15:49

    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.

提交回复
热议问题