Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Fail to retrieve settings from crashlytics [duplicate]

Tags:

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

like image 278
Kenneth Browning Avatar asked Mar 09 '18 10:03

Kenneth Browning


People also ask

What is Firebase settings Crashlytics com?

Firebase Crashlytics is a lightweight, realtime crash reporter that helps you track, prioritize, and fix stability issues that erode your app quality. Crashlytics saves you troubleshooting time by intelligently grouping crashes and highlighting the circumstances that lead up to them.

How do I debug Crashlytics?

Enable debug logging for Crashlytics If you don't see your test crash in the Crashlytics dashboard, you can use debug logging for Crashlytics to help track down the problem. Enable debug logging: In Xcode, select Product > Scheme > Edit scheme. Select Run from the left menu, then select the Arguments tab.

How do I get Crashlytics crash reports in the Firebase console?

To continue getting crash reports in the Firebase console, upgrade to use the latest Firebase Crashlytics SDK: v8.10.0 for iOS+ , v18.2.6 for Android, or v8.7.0 for Unity . This page provides troubleshooting help and answers to frequently-asked questions about using Crashlytics.

How do I disable Crashlytics crash reporting in the SDK?

If your project uses Crashlytics alongside the Google Mobile Ads SDK, it's likely that the crash reporters are interfering when registering exception handlers. To fix the issue, turn off crash reporting in the Mobile Ads SDK by calling disableSDKCrashReporting.

Where can I get help with using Crashlytics?

This page provides troubleshooting help and answers to frequently-asked questions about using Crashlytics. If you can't find what you're looking for or need additional help, contact Firebase support.

What happens when you link Crashlytics to BigQuery?

After you link Crashlytics to BigQuery, new datasets you create are automatically located in the United States, regardless of the location of your Firebase project. Can I use Crashlytics for macOS or tvOS?


1 Answers

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.

like image 91
Kenneth Browning Avatar answered Oct 15 '22 14:10

Kenneth Browning