简体   繁体   English

适用于 Android 的 Fabric Crashlytics 不起作用

[英]Fabric Crashlytics for Android not working

I've followed the installation tutorial step by step for an Android app.我已经按照 Android 应用程序的安装教程逐步进行了操作。

All seems fine, but after a couple of hours I don't get to enter the dashboard (always redirected to the installation tutorial).一切看起来都很好,但几个小时后我无法进入仪表板(总是重定向到安装教程)。 I guess that means my app have not been detected yet.我想这意味着我的应用程序还没有被检测到。 It is supposed to be ready after a few minutes.它应该在几分钟后准备好。

Enabling debug mode, everything looks good:启用调试模式,一切看起来都不错:

06-01 10:56:12.697 9871-9899/com.mypackage.test.desa D/CrashlyticsCore: Attempting to send crash report at time of crash...
    06-01 10:56:12.837 4410-9967/? E/SQLiteLog: (284) automatic index on crash_info_summary(package_name_touched)
    06-01 10:56:13.067 989-3341/? W/ActivityManager: Scheduling restart of crashed service com.sec.android.app.videoplayer/.videowall.TranscodeService in 1000ms
    06-01 10:56:13.787 989-1335/? W/ActivityManager: Scheduling restart of crashed service com.sec.android.widgetapp.at.hero.accuweather/.WeatherClockScreenService in 10276ms
    06-01 10:56:13.787 989-1335/? W/ActivityManager: Scheduling restart of crashed service com.sec.android.widgetapp.at.hero.accuweather/.WeatherClockService in 20275ms
    06-01 10:56:14.507 9871-9899/com.mypackage.test.desa D/CrashlyticsCore: Adding single file 592FD68C000C-0001-268F-1112AA20B096.cls to report 592FD68C000C-0001-268F-1112AA20B096
    06-01 10:56:14.507 9871-9899/com.mypackage.test.desa D/CrashlyticsCore: Sending report to: https://reports.crashlytics.com/spi/v1/platforms/android/apps/com.minsait.visitaunica.desa/reports
    06-01 10:56:14.977 9871-9899/com.mypackage.test.desa D/CrashlyticsCore: Create report request ID: null
    06-01 10:56:14.977 9871-9899/com.mypackage.test.desa D/CrashlyticsCore: Result was: 202
    06-01 10:56:14.977 9871-9899/com.mypackage.test.desa I/CrashlyticsCore: Crashlytics report upload complete: 592FD68C000C-0001-268F-1112AA20B096
    06-01 10:56:14.977 9871-9899/com.mypackage.test.desa D/CrashlyticsCore: Removing report at /data/data/com.minsait.visitaunica.desa/files/.Fabric/com.crashlytics.sdk.android.crashlytics-core/fatal-sessions/592FD68C000C-0001-268F-1112AA20B096.cls

Any help would be appreciated.任何帮助将不胜感激。 Thank you in advance.先感谢您。

Finally, it seems that the issue was a wrong internal state in their DB.最后,问题似乎是他们数据库中的错误内部状态。 Also happened 2 more times with other projects.其他项目也发生了 2 次以上。

Contacting the support team was the solution.联系支持团队是解决方案。 They replied very quickly and were very kind by the way.他们回复得很快,顺便说一下也很友善。

I had a similar problem;我有一个类似的问题; even though you haven't added the fabric, apparently you have to remove it within the manifest:即使您尚未添加结构,显然您也必须在清单中将其删除:

<meta-data
tools:node="remove"
android:name="io.fabric.ApiKey"/>

Firstly, I always recommend installing Fabric.io using the build in IDE plugin.首先,我总是建议使用内置 IDE 插件安装 Fabric.io。

You can find out how to install that here:您可以在此处了解如何安装它:

https://fabric.io/downloads/android https://fabric.io/downloads/android

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM