Firebase错误.android文件夹中没有debug.keystore [英] Firebase error no debug.keystore in .android folder

查看:218
本文介绍了Firebase错误.android文件夹中没有debug.keystore的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试将Firebase连接到我的android应用程序,但错误显示

I tried to connect Firebase to my android app but the error says

Firebase:在指定用于调试的文件({0})中找不到密钥库 构建类型. {2}

Firebase: Could not find keystore in file ({0}) specified for debug build type. {2}

我发现.android文件夹中没有debug.keystore.

I see that there is no debug.keystore in my .android folder.

推荐答案

我遇到了相同的问题,为了解决该问题,我完成了以下步骤

I've got the same issue, for fixing it, I've done the following step

  1. 转到您的Google Firebase 帐户
  2. 单击项目设置
  3. 下载google-services.json文件并将其保存在{your-project}/app/google-services.json
  4. 重建项目,它应该可以工作
  1. Go to your google firebase account
  2. Click on Project Settings
  3. Download the google-services.json file and save it in {your-project}/app/google-services.json
  4. The rebuild your project and it should work

这篇关于Firebase错误.android文件夹中没有debug.keystore的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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