I am following the guidance to open Android Studio and to select click Build > Generate Signed Bundle/APK.
There is no menu Build > Generate in Android Studio:
My Android Studio is freshest:
Android Studio Flamingo | 2022.2.1 Patch 2
Build #AI-222.4459.24.2221.10121639, built on May 12, 2023
Runtime version: 17.0.6+0-17.0.6b802.4-9586694 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 13.4
GC: G1 Young Generation, G1 Old Generation
Memory: 2280M
Cores: 10
Metal Rendering is ON
Registry:
dart.server.additional.arguments=autosnapshotting-thresholdMb-200,increaseMb-100,dir-/Users/polinach/Downloads/analyzer_snapshots,dirLimitMb-10000,delaySec-20
actionSystem.assertFocusAccessFromEdt=false
external.system.auto.import.disabled=true
actionSystem.fix.alt.gr=false
actionSystem.getContextByRecentMouseEvent=true
ide.text.editor.with.preview.show.floating.toolbar=false
gradle.version.catalogs.dynamic.support=true
Non-Bundled Plugins:
Dart (222.4582)
io.flutter (74.0.2)
What am I missing?

On macOS or Linux, use the following command:
On Windows, use the following command in PowerShell:
Create a file named
[project]/android/key.properties that contains a reference to your keystore. Don’t include the angle brackets (< >). They indicate that the text serves as a placeholder for your values.The
storeFilemight be located at/Users/<user name>/upload-keystore.jkson macOS orC:\\Users\\<user name>\\upload-keystore.jkson Windows.And replace it with the following signing configuration info:
I just following this link and I got the app to publish. flutter offical