Sign Flutter App in Android Studio

  1. Launch Flutter app with Android Studio
  2. Click Tools > Flutter > Open for Editing in Android Studio
  3. Let it load the build tools
  4. Click Build > Generate Signed Bundle/APK
  5. Click Next to Generate Sign App Key
  6. Select Release and click Finish
  7. Keep key name and password handy

Create file in project android/ folder


Update build.gradle


Make no changes

 def keystoreProperties = new Properties()
    def keystorePropertiesFile = rootProject.file('')
    if (keystorePropertiesFile.exists()) {
        keystoreProperties.load(new FileInputStream(keystorePropertiesFile))

   signingConfigs {
        release {
            keyAlias keystoreProperties['keyAlias']
            keyPassword keystoreProperties['keyPassword']
            storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
            storePassword keystoreProperties['storePassword']

    buildTypes {
        release {
           signingConfig signingConfigs.release

Generate Flutter Release Bundle

Once you have signed flutter app, reopen your flutter with Android Studio and build the app bundle

  1. Click Build > Flutter > Build App Bundle