I have been following this tutorial to get Google SignOn going: https://developers.google.com/identity/sign-in/android/start-integrating
When I run my application lo
EDITED
The answer is derived from this, as it will applicable for this problem also
I am Enclosing the Answer here
The problem is due to the Signing Certificate and the SHA-1 certificate fingerprint. Add the following SHA-1 certificates into your googleApi credentials. there are 2 cases
1.If you are running in debug mode add the SHA-1 fingerprint generated by the following
"C:\Program Files\Java\jre1.8.0_101\bin\keytool" -list -v -keystore "%USERPROFILE%\.android\debug.keystore" -alias androiddebugkey -storepass android -keypass android
2.If you have configured Signing Config then use SHA-1 fingerprint generated by following
"C:\Program Files\Java\jre1.8.0_101\bin\keytool" -list -v -keystore "[youKeyPath]\youKey.jks"
I recommend you to add both the SHA-1 fingerprints in your googleApi credentials