-
QuestionI have finished my first app I wish to publish and created an account on Google Play Console in order to publish the app. After building the app in the Android App Bundle mode (aab) I tried to upload the app to Google Play Console. Here I get the error message: 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. What am I missing to publish the app on Google Play? Code sampleNo response Error messageNo response ------------------------------------------------------
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I had the same issue, you need to sign the app using a keystore file, which you can generate either through Android Studio or using the "keytool" utility. This worked for me and the AAB file was accepted on the Google Play Console . |
Beta Was this translation helpful? Give feedback.
I had the same issue, you need to sign the app using a keystore file, which you can generate either through Android Studio or using the "keytool" utility.
After generating the keystore file, I placed it in "../build/flutter/android/app" directory.
Then, I used this command to build and sign the app:
flet build aab --android-signing-key-store FILE.jks --android-signing-key-alias ALIAS --android-signing-key-store-password PASSWORD --android-signing-key-password PASSWORD
This worked for me and the AAB file was accepted on the Google Play Console .