Skip links

How to generate play store uploadable files for release?

How to generate play store uploadable files for release? see the doc for reference
Signing the app:

To publish on the Play Store, you need to give your app a digital signature. Use the following instructions to sign your app.

Go through the screenshots below carefully to understand how to generate key and and use it for the released signed app:

Setup environment for keytool:

  • Run this command in your system terminal: flutter doctor -v
  • Find the Java binary at: copy this path except the “java” folder.
  • Change your terminal path by running this command : cd “past here your copied path” then press enter. Example: cd C:\Program Files\Android\Android Studio\jre\bin 
  • Run the keytool.exe file. Example: C:\Program Files\Android\Android Studio\jre\bin>keytool.exe

Create jks file for uploading app on playstore:


  • Open your project path and run this command: keytool -genkey -v -keystore android/app/key.jks -storetype JKS -keyalg RSA -keysize 2048 -validity 10000 -alias key 
  • Provide all information.

Your created JKS file is located your project->android->app folder


** If you lose the jks file , you will not be able to release a new update your app in playstore**

Create new file in the android folder . Enter the information

Please Read this:

in app/build.gradle  do necessary changes

Note: You may need to run flutter clean after changing the gr0adle file. This prevents cached builds from affecting the signing process.


Now you are almost done

In your terminal run: flutter build appbundle


The release bundle for your app is created at <your app dir>/build/app/outputs/bundle/release/app.aab.

Upload this app.aab file to your google play console