现有的Android应用程序集成到Firebase [英] Existing Android App Integration to Firebase

查看:1094
本文介绍了现有的Android应用程序集成到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屋!

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