flutter-intellij icon indicating copy to clipboard operation
flutter-intellij copied to clipboard

Flutter Flamingo Android Studio Generate Signed Bundle missing

Open DktPhl2019 opened this issue 2 years ago • 5 comments

Hello

I need to sign my Android app created in Android Studio. I am using Flamingo version Android Studio Flutter on Windows 11.

I need to build app bundle to upload my app to a Google Play Store.

The following pages provides detailed instructions how to sign an app: developer.android.com/studio/publish/app-signing#certificates-keystores

Issue: Using Flamingo version of Android Studio is missing the signing screen: Build > Generate Signed Bundle/APK - there is no such command.

Instead, I have: Build > Flutter > Build App Bundle

When I do: Build > Flutter > Build App Bundle, the app is not signed.

After I upload the bundle file to google play, I get the message saying that my app bundle needs to be signed.

Could you please fix the issue.

Thank you

DktPhl2019 avatar Jun 08 '23 18:06 DktPhl2019

Instructions for signing Android apps are here: https://docs.flutter.dev/deployment/android#signing-the-app

For iOS, see this page: https://docs.flutter.dev/deployment/ios

We currently do not have plans to add a signing UI. cc @jacob314 @jwren

stevemessick avatar Jun 08 '23 20:06 stevemessick

The problem is that the official documentation on google's site has the wrong instructions, it says go this way:

In the menu bar, click Build > Generate Signed Bundle/APK.

but unfortunately in Android Studio Flamingo | 2022.2.1 Build #AI-222.4459.24.2221.9862592 this will not produce the desired result

I am facing the same problem and haven't found a solution yet

petrfalkovsky avatar Jul 11 '23 15:07 petrfalkovsky

I am using Android Studio Electric EEl | 2022.1.1 and am running into the same confusion. As you can see in my screenshot, there is no option to Generate Signed Bundle/APK

image

jacisback avatar Aug 13 '23 23:08 jacisback

Hello! You need to do this using a script. You can't do this using UI. Please see here: docs.flutter.dev/deployment/android#signing-the-app

DktPhl2019 avatar Aug 14 '23 15:08 DktPhl2019

docs.flutter.dev/deployment/android#signing-the-app

Do you mean the second-step script? That doesn't produce the menu point required to generate an upload key. With my research, I have the feeling the official instructions have changed a lot and have caused a lot of confusion. I'm facing a dilemma here not being able to move forward.

BirgitPohl avatar Dec 30 '23 12:12 BirgitPohl