Flutter Tutorial - How To Publish Flutter App On Play Store [2024] Build, Release & Deploy App

HeyFlutter․com · 365K views · 2021 · 21:14

Open on YouTube

Software practice, open source & careersWeb developmenttutorialdated

Why Stack Overflow recommends it

Stack Overflow users link it when answering questions about generating signed app bundles, creating keystores with keytool, and getting a Flutter app published to Google Play.

Recommended by 4 people across 4 different months, 2022 to 2023.

What it is

A 21-minute Flutter tutorial by Johannes Milke (HeyFlutter) that walks through building, signing and publishing an Android app to the Google Play Store. It covers keystore creation, release builds, app bundles, and the Play Console steps, with linked source code and the official Flutter deployment guide.

What people said

Recommends AppSolves · 2022-09 · Stack Overflow · on “warring flutter : [deprecation] Registrar in PluginRegistry has been deprecated”

So first of all I would recommend using the latest version of the package. The second point is that you have to sign your app in order to publish it (build in release mode) so Google knows that the app belongs to you. Check out that tutorial on how to sign your app and publish it to Google Play Store: [this video] Here are also the official docs: [LINK]

Recommends Saied Rahimi · 2022-10 · Stack Overflow · on “FLUTTER Android Studio BUMBLEBEE: Generating signed bundle requires you to update the Android Gradle plugin to version 3.2.0 or higher”

Finaly solve this problem. I trid all that way mentioned in the question and stell that dump error [LINK] it doesn't look logical. but its work for me. I closed project in android studio then open android folder at my project folder in new a android studio window, like this below [LINK] then it take long time for downloading, analyzing, or... something, you can see the layout is not same as main project .... [LINK] also build menu has more options... [LINK] after that tried to build app bundle and everything is good. I think generating app bundles is not possible in main project file. we need to switch to android folder and generating it. after all these I searched youtube generate app bundl

Recommends saleem · 2022-11 · Stack Overflow · on “keytool : The term 'keytool' is not recognized as the name of a cmdlet, function, script file, or operable program”

I had the same issue ,here what I did to solve it: open cmd "NOT windows power shell" run "flutter doctor -v" at => "Java binary at:" there is a path like this one "C:\Program Files.Android\Android Studio\jre\bin\java", remove the java word so it will be like this "C:\Program Files\Android\Android Studio\jre\bin" run cd "your path from step 4" (in my case it was "C:\Program Files\Android\Android Studio\jre\bin") run the command "keytool -genkey -v -keystore %userprofile%\upload-keystore.jks -storetype JKS -keyalg RSA -keysize 2048 -validity 10000 -alias upload" I recommend watching this video " [this video] " start at 4:53

Recommends enchance · 2023-01 · Stack Overflow · on “Flutter Appcheck (not debug) insufficient permissions”

This yt video [this video] is what I followed. Right now I'm still running some more tests. I don't recommend using SafetyNet though because of deprecation.

Cites Innarq · 2023-08 · Stack Overflow · on “FlutterConfig.loadEnvVariables() is not working (flutter pub global run rename breaks app)”

I'm using flutter_config to read my api keys from .env file (I know it's not the most secure way but I'm just prototyping app). That's part of my main.dart code import 'package:flutter_config/flutter_config.dart'; void main() async { WidgetsFlutterBinding.ensureInitialized(); print("loading variables"); await FlutterConfig.loadEnvVariables(); print("variables loaded"); print(FlutterConfig.variables); print(FlutterConfig.get("GOOGLE_MAPS_UNRESTRICTED_API_KEY")); ... } and that's the output Launching lib\main.dart on sdk gphone64 x86 64 in debug mode... main.dart:1 Reading env from: .env √ Built build\app\outputs\flutter-apk\app-debug.apk. I/flutter (13946): loading variables E/narq.foodNearb(