Rob Rob - 2 months ago 10
Android Question

Google Sign In not working when built in my Android Studio

A third-party has developed the main structure for my app, including a Google Sign In. When they test it, it works. When I run the APK that they built, it works. When I build using the project files, it fails with a

handleSignInResult:false
error.

I've reinstalled Android Studio, installed all the possible SDKs, but to no avail. Does anybody have any idea why one project will build successfully on one computer, but not on mine?

Could it be something to do with the SHA-1?

Answer Source

Yes...You guessed it right.Its about SHA-1 Key.

You need to add you SHA-1 key generated from your PC keystore

How to get SHA-1 from Android Studio ?

Than add that key in your Firebase console or in Google Console

How to add SHA-1 key to console ?