Google sign-in Android with Firebase - statusCode DEVELOPER_ERROR

后端 未结 12 2798
悲&欢浪女
悲&欢浪女 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:20

    I created new debug SHA1 key using following steps and replaced SHA1 key in my project settings. it worked for me.
    -Open Your Project.
    -Click on File menu -> New -> Click on Google -> Select Google Maps Activity -> Click on Finish. -Android studio would generate automatic google_maps_api.xml file.
    -You can get debug SHA1 key in this file.

    Replace this SHA1 key in project settings, Then download new google-services.json from settings and replace it in your project as your certificate_hash and client_id will change.

提交回复
热议问题