“Your Android App Bundle is signed with the wrong key”: how to fix it
Why Google Play rejects your bundle’s signature, upload key vs app signing key, how to find the right keystore, and how to reset a lost upload key.
You upload a bundle and the Play Console says: “Your Android App Bundle is signed with the wrong key. Ensure that your app bundle is signed with the correct signing key and try again.” It then shows the certificate fingerprint it expected and the one it found. It means the key that signed this bundle isn’t the upload key registered for your app.
Upload key vs app signing key
With Play App Signing there are two keys. The upload key is yours: you sign each bundle with it, and Google uses it to check the upload came from you. The app signing key is held by Google: it signs the APKs that reach users and never changes. This error is about the upload key. Play App Signing has been required for new apps since August 2021.
Why it happens
- You built on a new machine or CI runner. It created a fresh keystore, or signed with the debug keystore, instead of using the original one.
- Your build service made new credentials. Recreating a project or clearing credentials in EAS, FlutterFlow or a similar service can generate a new keystore.
- The release build type isn’t wired to your keystore. In Flutter, for example, release builds sign with debug keys until you point signingConfig at your release config.
- You picked the wrong keystore or alias. Teams with several apps often have several keystores.
- You lost the original keystore or its password.
How to fix it
- Open your app’s Play app signing page in the Play Console. It lists the MD5, SHA-1 and SHA-256 fingerprints of your upload certificate and your app signing certificate.
- Check the fingerprint of each keystore you have: run the Gradle signingReport task in Android Studio, or keytool -list -v -keystore <file>. Look for the SHA-1 that matches the upload certificate.
- Point your release signing config at the matching keystore and alias (see the table), rebuild and upload.
- If no keystore matches and you’ve lost the original, create a new upload key, export its certificate with keytool -export -rfc -keystore upload-keystore.jks -alias upload -file upload_certificate.pem, then on the Play app signing page click Request upload key reset, give the reason and upload the .pem file.
- Once Google confirms the reset, sign future releases with the new upload key. Your app signing key, listing and users don’t change.
| Project type | Where the release keystore is set |
|---|---|
| Android Studio (Kotlin/Java) | signingConfigs in app/build.gradle(.kts), assigned to buildTypes → release (or Build → Generate Signed Bundle/APK) |
| Flutter | android/key.properties (storeFile, keyAlias, passwords), read by signingConfigs in android/app/build.gradle(.kts) |
| React Native (bare) | signingConfigs → release in android/app/build.gradle, usually reading values from gradle.properties |
| Expo (EAS Build) | Stored by EAS. Run eas credentials to see or download the keystore EAS uses |
| Unity | Player Settings → Publishing Settings → Custom Keystore (or Keystore Manager) |
If there is no reset option
Apps created before August 2021 could skip Play App Signing and sign APKs with their own key. If such an app loses that key, Google can’t recover it and the app can’t be updated. The only way forward is a new app with a new package name (why it has to be new). If you still have the key, enroll in Play App Signing now so a lost upload key can be reset later.
Questions people ask
Can Google give me back my old upload key?
No. Google never holds your upload key. It can only replace it with a new one through an upload key reset.
Does resetting the upload key affect my users?
No. Google keeps signing the APKs users install with the same app signing key, so updates install as normal.
Who can request the reset?
Google’s help page says you need admin permission to set up Play App Signing. If the button is missing, ask the account owner or an admin.
Can two of my apps share an app signing key?
Yes, if you choose it when you set up the new app. While configuring the first release, Play Console offers “Use the same key as another app in this account”.
Sources
Check your own name
Domains, both app stores, bundle IDs and every live site using the name, in under a minute.
Check a name