flutter / flutter-intellij

Flutter Plugin for IntelliJ
https://flutter.dev/using-ide
BSD 3-Clause "New" or "Revised" License
1.98k stars 319 forks source link

Flutter Flamingo Android Studio Generate Signed Bundle missing #6790

Open DktPhl2019 opened 1 year ago

DktPhl2019 commented 1 year ago

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

stevemessick commented 1 year ago

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

petrfalkovsky commented 1 year ago

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

jacisback commented 1 year ago

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

DktPhl2019 commented 1 year ago

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

BirgitPohl commented 10 months ago

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.