Signing & App Identity

App Bundle Signed with the Wrong Key: Diagnose Before Resetting

When Play Console says your Android App Bundle is signed with the wrong key, compare the expected upload certificate with the certificate used by the submitted build. Do not immediately generate a new key: the problem may be the wrong variant, alias, CI secret or confusion between the upload key and the Play app-signing key.

By Updated 2 min read

Identify which key Play expects

For an app enrolled in Play App Signing, the upload key authenticates what you send to Play. The app-signing key identifies APKs delivered to users. They can be different. A local certificate copied from a store-installed APK may therefore be the wrong reference for an AAB upload. Play App Signing.

Open the app's Play App Signing area under the current Protected with Play navigation and locate the upload-certificate details. Google's documentation uses Play Store distribution/protection labels in this area; follow the signing entry shown in your account rather than an old tutorial's Setup menu.

Compare evidence before changing configuration

Record the expected SHA-256 or SHA-1 fingerprint named in the error and inspect the certificate for your intended upload keystore:

BASH · REFERENCE EXAMPLE
keytool -list -v -keystore upload-keystore.jks -alias upload

Enter the password interactively. Compare the same fingerprint algorithm on both sides. A mismatch between SHA-1 and SHA-256 strings is not evidence of different keys.

Then inspect the AAB's signing certificate with a JAR-aware signing tool or the build's signing report. apksigner is for APKs, not the AAB publishing container. Android signing workflow.

Check the build path

Possible cause What to inspect
Debug build uploaded Selected variant and signing configuration
Wrong alias Alias used by the release signing task
CI secret replaced Secret version and mounted keystore path
Another app's keystore Application ID and release credential inventory
Key reset not active yet Reset status and effective date in Console

Rebuild after correcting the configuration and inspect the new artifact before uploading. Do not rely on a filename ending in release.aab.

Reset only when the upload key is genuinely unavailable

For an enrolled app, use the documented upload-key reset process with the required account permissions. Resetting an upload key is not a replacement for the existing app-signing identity. Follow the instructions and activation timing shown by Play, then update CI and local release documentation consistently.

Confirm the fix without hiding the cause

Save the successful build's version code, certificate fingerprint and configuration revision. Remove obsolete CI credentials only after the new path is confirmed and recovery copies are handled securely.

APKLint's AAB and certificate inspection tools can help organize the evidence. They cannot reset a Play key, validate your account's authorization or guarantee that a bundle will pass every release check.

Sources and further reading

  1. Google Play: Use Play App Signing
  2. Android Developers: Sign your app

Reference review: 22 September 2026. Examples illustrate the workflow; check your installed versions, release artifact and account-specific Console requirements before applying them. This guide is not a claim that APKLint executed your project or verified your private account.

APKLint

Android inspection tools and practical release guides. About APKLint · Report a correction