Firebase 控制台中的“您的操作被禁止"问题 [英] Your Operation was forbidden issue in Firebase Console

查看:35
本文介绍了Firebase 控制台中的“您的操作被禁止"问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个 Android 项目.现在我想将 Firebase 添加到我的 android 项目中.我在 firebase 控制台上注册了我的应用程序.现在,当我尝试将我的 sha-1 密钥添加到项目中时,它给了我以下错误.

I created an Android Project. Now I want to add Firebase into my android project. I register my application on firebase console. Now When I try to add my sha-1 key in to project it gives me following error.

我在 google 和 stackoverflow 上搜索,但没有收到任何正确的答案.根据一些答案,当我将相同的 sha-1 密钥插入到 firebase 的另一个项目时,会发生此错误.让我告诉你,这是我在 firebase 控制台中唯一的项目.我在这个 firebase 帐户中没有任何其他项目.

I search on google and stackoverflow but didn't receive any proper answer. According to some answers this error occurs when I insert same sha-1 key in to another project of firebase. Let me tell you that this is my only project in firebase console. I do not have any other project in this firebase account.

那么可能是什么问题,如何在我的 firebase 项目中添加这个 sha-1?

So what could be the problem and how can I add this sha-1 in my firebase project ?

推荐答案

最后我自己解决了问题,

Finally I Have solved issue my self,

Firebase 在内部存储每个包名称和关联的 SHA-1 密钥.所以当我们使用相同的包名 &firebase 中的 SHA-1,它不允许使用它并产生问题中提到的相同错误.要解决这个问题,我们需要更改包名称或需要使用另一个密钥库的 SHA-1 密钥.

Firebase internally stores each package name with associated SHA-1 Key. So When we are using same package name & SHA-1 in firebase, it will not allow to user it and produce the same error mentioned in the question. To solve we need to either change package name or need to user another keystore's SHA-1 key.

这篇关于Firebase 控制台中的“您的操作被禁止"问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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