简体   繁体   English

无法从 Firebase 控制台下载 google-services.json 文件

[英]Unable to download google-services.json file from Firebase Console

I have successfully created project on Firebase Console but after adding package name and fingerprint the browser redirected to error page我已在 Firebase 控制台上成功创建项目,但在添加包名称和指纹后,浏览器重定向到错误页面

Firefox can't find the file at https://console.firebase.google.com/m/mobilesdk/projects/xxxxxxxxxxxx/clients/android:com.lorem.ipsum/artifacts/2?param=[ "getArtifactRequest",null,"android:com.lorem.ipsum","2","xxxxxxxxxxxx"] Firefox 无法在https://console.firebase.google.com/m/mobilesdk/projects/xxxxxxxxxxxx/clients/android:com.lorem.ipsum/artifacts/2?param=[ "getArtifactRequest",null “安卓:com.lorem.ipsum”,“2”,“xxxxxxxxxxxx”]

I am continuously getting this message while trying to download file from project settings我在尝试从项目设置下载文件时不断收到此消息

In my case it was caused by the Firebase Management API not being enabled at https://console.cloud.google.com/ (right menu - APIs and Services > Dashboard > click on +Enable APIS and Services - then find the API in question and enable it.在我的情况下,这是由于Firebase 管理 API未在https://console.cloud.google.com/上启用(右侧菜单 - API 和服务 > 仪表板 > 点击 + 启用 APIS 和服务 - 然后在问题并启用它。

Removing and adding your app again would tell you that too.再次删除和添加您的应用程序也会告诉您这一点。

An unexpected error has occurred.发生意外错误。 [Reason: Firebase Management API is not enabled. [原因:Firebase Management API 未启用。 Please enable the API in the Google Cloud Platform console at https://console.cloud.google.com/apis/library/firebase.googleapis.com?project=_]请在 Google Cloud Platform 控制台中启用 API, 网址https://console.cloud.google.com/apis/library/firebase.googleapis.com?project=_]

add-android-app-to-firebase-project

I faced same issue once.我曾经遇到过同样的问题。

Sign out + cache/history clear退出 + 缓存/清除历史记录

solved it.解决了。 Also try on different web browser也可以尝试不同的网络浏览器

If You have Added More than One Google Accounts in Chrome Then Firebase Returns Some Error Messages.如果您在 Chrome 中添加了多个 Google 帐户,则 Firebase 会返回一些错误消息。 For Me, it returns this error :对于我,它返回此错误:

)]}' {"code":7,"errorSpace":"generic","placeholders":{"trackingId":"52214415626247XXXXXX"},"status":403,"message":"backend error"} )]}' {"code":7,"errorSpace":"generic","placeholders":{"trackingId":"52214415626247XXXXXX"},"status":403,"message":"backend error"}

Try the same in New Incognito Window mode(Ctrl+Shift+N) in Chrome.在 Chrome 中的新隐身窗口模式 (Ctrl+Shift+N) 中尝试相同的操作。 It works For Me..!!它对我有用..!!

I fixed this by logging in with a different browser and viola., I was able to download then.我通过使用不同的浏览器和中提琴登录来修复此问题,然后我就可以下载了。 I was using Chrome first, then switched to Safari and it worked.我先用的是 Chrome,然后切换到 Safari 就可以了。 An extension on Chrome may block responses from Firebase. Chrome 上的扩展程序可能会阻止来自 Firebase 的响应。 maybe an adblocker.也许是广告拦截器。 But in my case i had no adblockers so I have no idea which extension was blocking responses from Firebase.但就我而言,我没有广告拦截器,所以我不知道哪个扩展程序阻止了来自 Firebase 的响应。

只是刷新页面对我有用!

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 google-services.json api_key 从 firebase 为空 - google-services.json api_key is empty from firebase Firebase反编译Google-services.json填充quata - Firebase decompiled Google-services.json to fill quata google-services.json Google Cloud out-login和Firebase动态链接同一个项目android - google-services.json Google Cloud outh login and Firebase dynamic link same project android Flutter:文件 google-services.json 丢失。 没有它,Google 服务插件不能 function - Flutter : File google-services.json is missing. The Google Services Plugin cannot function without it 如何将 google-services.json 文件放入 android 项目中的自定义位置 - How google-services.json file can be put to custom location within android project 由以下原因引起:org.gradle.api.GradleException:文件 google-services.json 丢失。 没有它,谷歌服务插件就不能 function - Caused by: org.gradle.api.GradleException: File google-services.json is missing. The Google Services Plugin cannot function without it google-services.json”已找到,但它表明您似乎无权访问的项目 ID - google-services.json" was found, but it indicates a project ID that you don't appear to have access to 每次在 firebase 中添加 sha 密钥时,是否需要下载谷歌服务 json 文件? - Do I need to download google service json file everytime I add sha key in firebase? Firebase 远程配置无法从控制台获取值 - Firebase Remote Config unable to fetch values from console 从 firebase 存储下载文件与 HTTP 请求任何人都可以下载 - Download file from firebase storage with HTTP request that anyone can download
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM