[Ionic 4] - Submit app to google play store for testing

Hello all! :relaxed:

I have made a basic app, which I am wanting to upload to the Google Play Store for testing with a couple of people. I am using an internal test track, and have uploaded my signed and zip-aligned APK (following the “Publishing your app” ionic docs).

However, when I go to review and roll-out, I get a warning message that my APK is unoptimised and I can’t continue. It says the resolution is to use Android App Bundle. I’ve tried to use this in Android Studio, but every time I go to build the app bundle it tells me I have to update Android Gradle plugin to 3.2.0 or higher. It has a link to “close the dialog and update the plugin” but clicking on it closes the dialog and does nothing else.

I have manually installed the latest version of gradle, and when I use the command gradle -v in command prompt, it tells me the gradle version is 6.0. My app is 9.82MB if that helps.

What can I do to fix this issue? Thankyou so much in advance :slight_smile:

On Android Studio > Build > Generate Signed Bundle: choose the Android App Bundle, not the APK.