I have built an app in flutter using android studio and am trying to release it on the play store.
However, when I try to upload this on the play console, I get the error message that "You uploaded an APK or Android App Bundle that was signed in debug mode. You need to sign your APK or Android App Bundle in release mode." aslo I swiched to release mode too but it is same.
CodePudding user response:
Go to your file => New => import project => open same projects android file in new tab => then go to build =>generate signed bundle/apk
CodePudding user response:
I tried many ways and finally came up with a solution. Now we have switched to release mode, run this command:
flutter build appbundle --release