现有的Android应用程序集成到Firebase [英] Existing Android App Integration to Firebase
问题描述
Firebase
由于以下原因,无法将客户添加到您的Firebase项目中:
包名称和SHA1的应用程序已连接到Google项目。如果您以前使用过Google API,请在连接到现有项目列表中选择该项目。
客户端软件包名称:软件包名称
客户端SHA1:[59:17:0C:D9:63:14:42:A5:81:13:20:F8:58:0F:96:D8:6A :65]
我无法找到连接到现有的项目列表
在错误信息中提到。
我通过点击导入Google项目按钮并选择一个现有的Google项目,在firebase中创建了项目。后来我尝试添加调试和生产签名SHA1的,但没有帮助。
任何人都面临同样的问题?编辑:
今天,现有的项目列表对话框开始出现,但即使我从现有的项目列表中选择,我仍然得到错误。我开始认为这是一个预览错误。 :(
在导入Google项目之后,点击分析 - >点击Android图标,出现以下屏幕:
名称和SHA-1。下载google-services.json并移动到你的/ app /文件夹(path-to-app / app / google-services.json)。
它必须工作!
< img src =https://i.stack.imgur.com/gaiAJ.pngalt =在这里输入图片描述>
Pressing the following button is giving the error below the image.
Firebase
No clients were able to be added to your Firebase project for the following reasons:
An app with this package name and SHA1 is already connected to a Google project. If you have used a Google API previously, please select that project in the Connect to an existing Project list.
Client Package Name: packagename
Client SHA1: [59:17:0C:D9:63:14:42:A5:81:13:20:F8:58:0F:96:D8:6A:65]
I could not find the Connect to an existing Project list
mentioned in the error message.
I created the project in firebase by clicking "Import Google Project" button and selecting an existing google project. Later i tried adding both debug and production signature SHA1's but that did not help.
anyone faced the same issue?
EDIT: Today the existing project list dialog started appearing but i still get the error even if i select from the existing project list. I started thinking that this is a preview bug. :(
After "Import Google Project". Click Analytics->Click Android Icon and the following screen appears.
Put your app package name and SHA-1. Download google-services.json and move to your /app/ folder. (path-to-app/app/google-services.json).
It must work!
这篇关于现有的Android应用程序集成到Firebase的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!