How to Solve Google Play Error When Uploading Flutter App Debuggable In Flutter ?

· 2 min read
How to Solve Google Play Error When Uploading Flutter App Debuggable In Flutter
How to Solve Google Play Error When Uploading Flutter App Debuggable In Flutter

How to Solve Google Play Error When Uploading Flutter App Debuggable In Flutter?

user needs to create their own signing config for release mode, in your current file your are using signing config from debug.

buildTypes {
    release {
        signingConfig signingConfigs.debug   //for this reason google doesn't allow you to upload the apk
    }
}

to

buildTypes {
    release {
        // TODO: Add your own signing config for the release build.
        // Signing with the debug keys for now, so `flutter run --release` works.
        signingConfig signingConfigs.release
    }
}

Create a signing configuration inside your gradle file :

android {
         ...
         signingConfigs {
             release {
                 storeFile file("release.keystore")
                 storePassword "******"
                 keyAlias "******"
                 keyPassword "******"
             }
         }
         buildTypes {
             release {
                 signingConfig signingConfigs.release
             }
         }
     }

 

 

Conclusion:

FlutterAgency.com is our portal Platform dedicated to Flutter Technology and Flutter Developers. The portal is full of cool resources from Flutter like Flutter Widget GuideFlutter ProjectsCode libs and etc.

FlutterAgency.com is one of the most popular online portal dedicated to Flutter Technology and daily thousands of unique visitors come to this portal to enhance their knowledge on Flutter.

Leave a Reply