E/FirebaseCrashlytics: Failed to retrieve settings from https://firebase-settings.crashlytics.com/spi/v2/platforms/android/gmp/XXXX/settings

空扰寡人 提交于 2021-01-21 12:12:09

问题


I tried new Firebase Crashlytics SDk after migrating from Fabric and seem to run into a weird issue.

Crash logs are not captured in dashboard after upgrading firebase-crashlytics to 17.0.0 and I get this error in log:

E/FirebaseCrashlytics: Failed to retrieve settings from https://firebase-settings.crashlytics.com/spi/v2/platforms/android/gmp/XXXX/settings

and I followed all instructions from firebase console quickstart guide. Please help me if any one have faced similar issue.


回答1:


In my case, I had migrated the release version but I guess never enabled Crashlytics on the Firebase console for the debug variant.

I simple mistake, but putting it here in case it helps out someone else.




回答2:


In my case, There was a legacy firebase project which using same package name of app. When I deleted legacy firebase project and It's works like a charm!




回答3:


Firebaser here -

We often see these kinds of errors after upgrading due to some sort of configuration error when you were switching out your dependencies. Did you make sure to follow all the steps in this guide?

You may also want to enable Crashlytics debug logging and force a test crash to see if the logs give you any other output. And it may help to edit your original question with your Gradle files and any other relevant Crashlytics setup.




回答4:


If you enabled multiple apps in single project, ensure you choose the correct one (left drop down menu choose the correct project which hold the multiple apps, right drop down menu choose the correct running app). I made such mistake and keep looking on the wrong app page and enabling Crashlytics on the wrong app and of course I get that error "Failed to retrieve settings from https://...:




回答5:


Same problem here with 17.2.1, one of my app flavours didnt't work throwing above error. Removing current apps and re-adding them in firebase project settings solved the problem for me.



来源:https://stackoverflow.com/questions/62196832/e-firebasecrashlytics-failed-to-retrieve-settings-from-https-firebase-setting

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!