GoogleSignInResult isSuccess failed

前端 未结 6 2005
栀梦
栀梦 2020-12-10 17:09

I want to use the Google Login for my App, but I always get the message Status{statusCode=unknown status code: 12500, resolution=null and the login failed. Has

6条回答
  •  情深已故
    2020-12-10 17:25

    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

提交回复
热议问题