在Playstore中发布后,Google登录无法正常工作 [英] Google Sign In not working after published in playstore

查看:146
本文介绍了在Playstore中发布后,Google登录无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Play商店中发布之前,我的Google标志运行正常.我在stackoverflow中看到了一些问题,但是没有一个回答我的问题.我不知道为什么登录不再起作用. (我不使用Firebase).

Before publishing in the play store my google sign was working fine. I saw some questions here in stackoverflow, but none of them answered my question. I don't know why the login is not working anymore. (I'm not using firebase).

我已完成所有步骤以使Google Sign正常工作,并且在我发布之前它一直在工作.有人知道发生了什么吗?我该怎么办?

I did all the steps to make the google sign work, and it was working before I published. Anyone knows what is happening? What can I do?

推荐答案

这是由于调试和发行版的SHA1键不同.

This is due to different SHA1 keys for debug and release version.

问题是,对于Google登录,您必须在Google帐户中添加SHA1密钥,您可以从编程或命令提示符处获取该密钥.

The thing is that for google sign in you must add SHA1 key in your google account which you can get from programming or from command prompt.

SHA1密钥对于已签名的apk是不同的.因此,您有两个SHA1,每个分别用于调试和发行版本.可以从密钥库文件中获得SHA1发行版.

SHA1 key is different for signed apk. So you have two SHA1, one each for debug and release version. The SHA1 for release version can be obtained from keystore file.

如果您想了解更多有关此内容的信息,可以查看此链接.在那里很好地解释了.

if you want to read more about this you can check this link. It is very well explained there.

这篇关于在Playstore中发布后,Google登录无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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