Signing & App Identity

Find SHA-1 and SHA-256 Fingerprints for the Correct Android Build

An Android certificate fingerprint identifies a signing certificate using a hash algorithm. SHA-1 and SHA-256 fingerprints of the same certificate look different, and neither should be confused with the hash of the APK file. Most integration failures come from choosing the wrong build's certificate rather than calculating the fingerprint incorrectly.

By Updated 2 min read

Choose the distribution path first

Decide whether the app is a local debug build, a locally signed release, a Play-installed release or an internal app-sharing build. Write that label next to the fingerprint before copying it into Firebase or another API configuration.

For Play App Signing, the upload certificate is not necessarily the certificate on the APK delivered to users. Play signing identities.

Read from the artifact or authorized keystore

For an APK:

BASH · REFERENCE EXAMPLE
apksigner verify --print-certs app.apk

For a keystore entry:

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

The first operation also performs APK verification; the second inspects the selected keystore entry. Enter private-store credentials locally and do not put them into shared documentation. Signing tools.

Compare like with like

Value Changes when
APK SHA-256 hash The artifact's bytes change
Certificate SHA-256 fingerprint The certificate changes
Certificate SHA-1 fingerprint The same certificate is represented with another requested algorithm
Application ID The installed/store identity is configured differently

A service can require a particular combination of application ID and fingerprint. Correctly entering a fingerprint for the wrong package still produces an invalid registration.

Diagnose a release-only login failure

Check the installed build's certificate, not merely the key used by CI to upload the AAB. Add the intended certificate through the service's supported registration workflow, refresh configuration if required and reinstall or retest the exact distribution path.

Do not delete all old fingerprints without understanding which testers or older signed paths still use them. Keep an inventory so obsolete records can be removed deliberately.

Treat fingerprints as public identifiers

Certificate fingerprints are not private signing keys. Sharing a fingerprint does not enable someone to sign an app as you, but it also does not prove that a screenshot or text message containing it is authentic. Obtain expected values through trusted channels.

APKLint can display certificate metadata from an APK. Compare that information with your release register and use Android's signing documentation when managing the underlying private credential.

Sources and further reading

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

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