Android Google登录无法在另一台计算机上使用 [英] Android Google sign in not working on another computer

查看:121
本文介绍了Android Google登录无法在另一台计算机上使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经用SHA-1生成了google-services.json,创建了Web和android OAuth令牌(在.requestIdToken()方法中使用web).一切都像魅力一样运作. 但是当同事从git中提取它时,错误12501就在这里...

I have generated google-services.json with my SHA-1, created web and android OAuth tokens (use web in .requestIdToken() method). And everything working like a charm. But when colleagues pull it from git, error 12501 is here ...

他们应该通过自己的SHA创建自己的google-services.json,还是问题出在哪里?

Should they create their own google-services.json by their SHA, or where is the problem?

推荐答案

之所以会发生这种情况,是因为他们使用的Android调试密钥与您使用的调试密钥不同.与他们共享用于创建google-services.json文件的Android调试密钥.

This happens because they are using a different Android debug key than yours. Share them the Android debug key that you used to create the google-services.json file.

这篇关于Android Google登录无法在另一台计算机上使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆