statusCode=DEVELOPER_ERROR in google login

后端 未结 7 945
萌比男神i
萌比男神i 2020-12-19 10:35

Below code I am using for Google login.I added google-services.json file in the app folder.I am using classpath \'com.google.gms:google-services:2.0.0

7条回答
  •  鱼传尺愫
    2020-12-19 11:15

    It's likely that your issue is in that you picked the SHA1 from the ~/.android/debug.keystore, but not using it to sign your build.

    1. Go to the module options Signing tab and add a profile with the only field Store File set to /Users//.android/debug.keystore

    2. On the Flavors tab pick it in the Signing Config drop-down.

    3. On the Build Types tab pick it in the Signing Config drop-down for your build type (likely to be Debug).

    4. Cleanup and rebuild.

提交回复
热议问题