Google sign-in Android with Firebase - statusCode DEVELOPER_ERROR

后端 未结 12 2786
悲&欢浪女
悲&欢浪女 2020-12-09 09:45

I try to implement Google login in my Firebase connected Android app. When I run the app and press Google Sign In button - nothing happen. And I receive this error in onActi

12条回答
  •  伪装坚强ぢ
    2020-12-09 10:34

    I had the same problem. What happens is this you have a SHA1 debug and release SHA1. Normally we used only SHA1 Debug and generate the .apk signed to google play, but when we use google sigin you must enter the firebase release of SHA1.

    To view the release SHA1 use the following command:

     keytool -list -v -keystore C:\ProjectsData\keystore\my-release-key.keystore -alias alias_name 
    

    Then enter this SHA1 on the Firebase

    https://support.google.com/firebase/answer/7000104

    This answer SHA1:

    SHA-1 fingerprint of keystore certificate

    Hope I helped you.

提交回复
热议问题