无法从https://settings.crashlytics.com/spi/v2/platforms/android/apps/检索设置 [英] Failed to retrieve settings from https://settings.crashlytics.com/spi/v2/platforms/android/apps/

查看:83
本文介绍了无法从https://settings.crashlytics.com/spi/v2/platforms/android/apps/检索设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试新的Firebase/Crashlytics设置,似乎遇到了一个奇怪的问题.

  • 我有一个具有多种产品口味的Android代码库,每种口味都是一个单独的独立应用程序.
  • 所有这些应用程序都已在Fabric中注册(过去)
  • 所有这些应用都已添加到Firebase
  • 两者之间的所有链接似乎都可以(从Fabric端和Firebase端都表示已链接)
  • 我从清单文件中删除了Fabric API密钥,并向两个gradle文件中添加了适当的插件/依赖项等

我尝试按照Firebase的说明发送测试崩溃报告.

  1. 我在其中一种产品上收到了很好的效果,因此我认为一切正常. 但是,
  2. 其余产品风味未发送崩溃报告,并且我在日志中收到此错误:

E/Fabric:无法从 https://settings中检索设置.crashlytics.com/spi/v2/platforms/android/apps/package 名称/设置

解决方案

好吧,我认为我已经解决了问题,但是解决方案似乎并不是它应该工作的方式(至少我不认为).

  • 转到Firebase控制台>项目设置>帐户链接>架构>选择应用并取消链接
  • 在Fabric> App> Firebase中限制-取消链接
  • 转到Firebase>项目> Crashlytics(选择所需的应用程序),您现在应该会出现一个对话框,以再次链接您的应用程序
  • 选择链接为新的Crashlytics(不存在)并按照说明进行操作
  • 之后,一切应该正常

基本上,从Fabric> Firebase屏幕-没有可见的链接,从Firebase> Account Linking> Fabric屏幕-也没有可见的链接.因此没有链接,但是您的崩溃将在Firebase中可见.

I am trying out the new Firebase/Crashlytics setup and seem to run into a weird issue.

  • I have one Android code base with multiple product flavors and each flavor is a separate individual app.
  • all of these apps are registered in Fabric (from the past)
  • all of these apps are added in Firebase
  • All linking between the two seems ok (from Fabric side as well as from Firebase side, it says that it is all linked up)
  • I removed the Fabric API key from the manifest file and added the appropriate plugins/dependencies etc. to both gradle files

I try to send a test crash report as per Firebase instructions.

  1. I receive it perfectly fine on one of the product flavors, so I assume all works well. However,
  2. the rest of the product flavors do not send the crash report and I get this error in log:

E/Fabric: Failed to retrieve settings from https://settings.crashlytics.com/spi/v2/platforms/android/apps/package name/settings

解决方案

Ok, I think I solved the problem, but the solution does not seem to be the way it should work (at least I do not think).

  • Go to Firebase Console > Project Settings > Account Linking > Fabric > Select the app and Unlink it
  • Confim in Fabric > App > Firebase - that it is unlinked
  • Go to Firebase > Project > Crashlytics (select the app you want) and you should now get a dialog to link your app again
  • Choose to link as a New Crashlytics (not existing one) and follow the directions
  • After that all should work fine

So basically, from Fabric>Firebase screen - there is no link visible and from Firebase>Account Linking>Fabric screen - there is also no linking visible. So no linking, but your crashes will be visible in Firebase.

这篇关于无法从https://settings.crashlytics.com/spi/v2/platforms/android/apps/检索设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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