Publish to google play
Adding a launcher icon
To customize the app icon, you might want to open the assets/icon/logo.png file and replace your app icon.
Then cross-check the file image name in the pubspec.yaml
Then run the following command in your terminal
After successfully creating the icon you will get the following message
Reviewing the app manifest
Review the default App Manifest file, AndroidManifest.xml, located in [project]/android/app/src/main and verify that the values are correct, especially the following:
Appname
Edit the
android:label
in theapplication
tag to reflect the final name of the app.
Change the App bundle ID
Change the package name in your
AndroidManifest.xml
Open the [project]/android/app/src/main/AndroidManifest.xml and change the package name com.bookstore.book into your bundle Id
Open the [project]/android/app/build.gradle and under the defaultConfig change the applicationId com.bookstore.book into your applicationId
Open the [project]/android/app/src/debug/AndroidManifest.xml and change the package name com.bookstore.book into your bundle Id
Open the [project]/android/app/src/main/kotlin/com/example/appname/MainActivity.kt and change the package name com.bookstore.book into your package name
Open the [project]/android/app/src/profile/AndroidManifest.xml and change the package name com.bookstore.book into your bundle Id
Building the app for release
You have two possible release formats when publishing to the Play Store.
App bundle (preferred)
APK
Build an app bundle
Enter cd [project]
Run flutter build appbundle
The release bundle for your app is created at /build/app/outputs/bundle/release/app.aab
Build an APK
From the command line
Enter cd [Project]
Run flutter build apk
Now we have our release APK ready for the Google Play Store.
To release the app to the play store kindly follow this
instructions
Publishing to the Google Play Store
Last updated