Google Sign In Not Working When Built In My Android Studio
Solution 1:
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
Solution 2:
First thing we need SHA-1 key for integrate google sign in we need to register this key in google developer or google api console, As per my or other experiance SHA-1 key will change when you change your systm so you need to replace your SHA-1 key with latest from your systme.
Solution 3:
You need to Generate Your SHA-1 Release Key for Gmail Login After Build Apk
Follow step
1.Open CMD terminal
Goto Java folder using 1. cd java 2. cd jdk1.8.0_112 3. cd bin
C:\Program Files\Java\jdk1.8.0_112\bin>
Enter Following Command:
keytool -list -v -keystore "PATH OF .jks Keystore" -alias android
Note: android is my Keystore Alias
then you will get this : Enter keystore password(Enter your keystore password)
Solution 4:
Just update your sha-1 to firebase and goo to tools->Firebase->Authentication->click Connect to firebase.It worked for me;)
Get your sha from Gradle->app->task->android->click Signing report copy the sha1 past to firebase project settings bottom.
Post a Comment for "Google Sign In Not Working When Built In My Android Studio"