[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.