YG

Google Sign-In Fails After Installing From Play: An SHA-1 Checklist

November 16, 2026·7 min read·Yusuf GÜNER

If Google sign-in works on the build you install from Android Studio but fails on the build you install from Play, the Android OAuth client in Google Cloud most likely has the wrong signature registered. Play re-signs your app with its own key, and the client does not know that key's SHA-1 fingerprint.

The fix is usually adding one registration. The hard part is finding which key is missing, because the message on screen does not say. The list below goes from easy to hard.

Look at logcat first

The message on screen told me nothing. In the Stack the World closed test, Google sign-in said "connection failed" for everyone who installed from Play. Logcat said plainly that the app was not registered for OAuth.

So before you open any console, plug in the phone and read the logcat output from the moment you tap sign-in. The screen message does not separate the causes, and logcat can, and it narrows down which of the six rows below is yours and which fingerprint goes into which console. Look at logcat first, really.

The sources call this error DEVELOPER_ERROR. The React Native Google Sign-In docs mention it for exactly this situation, "if you can sign in with debug APK and not in release (or vice versa)".

Diagnosis table

Symptom Likely cause How to check Who fixes it
Works on debug, fails on the Play install Play's signing key is missing Compare the signing certificate SHA-1 in Play Console with the Android client in Cloud You
You added the upload key, still fails The registered key is the upload key, the shipped package is signed with another Check whether the registered SHA-1 is "upload" or "app signing" You
A release APK installed by hand works, the Play install fails Release key registered, Play's key missing Same comparison You
12500 in Firebase Support email or SHA missing Firebase project settings You
"OAuth2 client already exists in another project" Same package name and SHA-1 registered elsewhere Your other Firebase and Cloud projects You or that project's owner
SHA-1 is right, still fails Package name mismatch or wrong project Package name and project You

1. Which key does Play sign with

With Play App Signing on, you do not hold Google's key. The Android docs put it this way, "With Play App Signing, Google manages and protects your app's signing key for you and uses it to sign your APKs for distribution." You sign only with the upload key. The same page defines it as "The key you use to sign the app bundle or APK before you upload it for app signing with Google Play."

The app that lands on the phone from Play does not carry your upload key's signature. Google's client-auth page puts a note box on it, "the upload key certificate will be different than the app signing key certificate."

You find the fingerprint in Play Console. The menu name differs between sources. Google's client-auth page says "Release > Setup > App Integrity", the Android docs say "Release > Setup > App signing". If one does not open, try the other, since the console UI may have changed after those pages were written. Per the Android docs, the MD5, SHA-1 and SHA-256 fingerprints of the upload and app signing certificates are on that page. You want the SHA-1 under "App signing key certificate".

There is a small trap here. The React Native Google Sign-In docs warn, "Play Store sometimes has more than one "App signing key certificate"!" If you see several, register all of them.

2. SHA-1 or SHA-256

An Android client wants SHA-1. The heading of the same docs page says so, "Step 1: Collect SHA-1 (not SHA-256) certificate fingerprints". The console lists SHA-256 too, so copying the wrong row is easy.

Check twice. A SHA-1 fingerprint is a 20-byte value, 20 pairs when grouped in twos, while SHA-256 shows 32 pairs. Count the pairs before you paste.

3. Is the Android client in Cloud

Google identifies the client by the package name and SHA-1 pair. The old Android Developers blog sentence that still describes this correctly is "It’s important to register every package name + SHA1 fingerprint pair in Google Developers Console." Read it as a pair. A correct SHA-1 with a different package name does not match.

Open the OAuth clients in Cloud Console. There should be a client of type Android, and Play's key SHA-1 should be written on it.

That fixed it for me. Play re-signed the app with its own key, so the upload key's SHA-1 was not enough. I added the app signing SHA-1 from Play Console as an Android client in Google Cloud and it worked right away. The wider story of that game is in the Stack the World post.

4. Are debug and release registered too

Adding Play's key is not enough, and you should not delete the others. Google's page says "You should get both the release and debug certificate fingerprints." The debug key applies while you develop, the release key when you install a release APK by hand, and Play's key when you install from Play.

Keep them all registered side by side.

It breaks on exactly the path whose key is missing, and working out why takes time.

To get your own keys, Google gives two ways. In a Gradle project this command prints the signing info of every variant.

./gradlew signingReport

To inspect a package you already have, there is this command.

keytool -printcert -jarfile app.aab

They show the upload and debug keys. You cannot get Play's key locally, it lives in Play Console.

5. If you use Firebase

The Firebase FAQ lists two reasons for the 12500 error, "There are two possible reasons why this would happen: you haven't provided a support email or you're missing a SHA key."

The support email is a separate check, in the general section of the project settings in the Firebase console. It has nothing to do with signing, so it gets missed while you stare at SHA values.

For the SHA, pick your Android app under "Your apps" and add the fingerprint. Without Firebase you can skip this step, as the page says, "If you're not using these features, you don't have to provide a SHA-1."

6. "OAuth2 client already exists in another project"

When you add the fingerprint you may get "An OAuth2 client already exists for this package name and SHA-1 in another project". It means the same package name and SHA-1 were used earlier in another Firebase or Cloud project.

Think of your old test projects first.

In that project you need to remove the client, or do the work in the right project.

When this checklist does not apply

If you sign the app yourself without Play App Signing and ship with your own keystore, there is no Play key to chase. Google's page has a separate section for that case, and you take the release keystore's fingerprint with this command.

keytool -list -v -alias <your-key-name> -keystore <path-to-production-keystore>

If logcat still says the OAuth registration is missing, check whether the Android client lives in the Cloud project your app uses. Package name, project and SHA-1 must all line up. If it is still unsolved, write to me through the contact section with the logcat line, and you can see my projects under works.

FAQ

Can't I just add the upload key's SHA-1?

On its own it is not enough, because Google ships the Play install signed with its own key. Per the Android docs Google uses the upload certificate to verify your identity. If your local release APK is signed with the upload key, registering it is still worthwhile.

It works on debug and fails on release. Same problem?

Same class. Each signature is its own fingerprint and each must be registered.

I do not use Firebase. Do I need an SHA-1?

By Google's docs, services like Google Sign-in want your signing certificate's SHA-1, "so we can create an OAuth2 client and API key for your app." Firebase is not required, the Android client in Cloud Console covers it.

I copied the SHA-256. Is that wrong?

For an Android client, yes. It needs SHA-1.

Do I need to ship a new build after registering?

For me it worked right after I added it. If code or a config file also changed, you need a new build. I cannot promise it, so try it on your own project.

Sources

The pages were read on 16 November 2026. Play Console menu names may have changed since.

AndroidGoogle Sign-InGoogle PlayReact Native

More writing