【问题标题】:Incomplete Crash Report from Google来自 Google 的不完整崩溃报告
【发布时间】:2019-07-16 03:11:19
【问题描述】:

我有一份来自 Google 的崩溃报告显示:

而在 logcat 中,我会看到如下内容:

FATAL EXCEPTION: main
Process: com.myscrap, PID: 1929
android.app.RemoteServiceException: Context.startForegroundService() did not then call Service.startForeground()
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1775)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6541)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)

为什么我在 Google 的崩溃报告中看不到 Context.startForegroundService() did not then call Service.startForeground() 部分?我认为这是日志的重要组成部分。

【问题讨论】:

    标签: android google-play crash-reports


    【解决方案1】:

    在 Google Play 信息中心中查看最近发生的崩溃需要一些时间。在这里,您会看到两个不同崩溃的两个不同崩溃日志。在 Google 仪表板中查找相同的崩溃应用持续时间(日期)和设备品牌等过滤器来查找您的崩溃。

    还可以更好地使用 Firebase Crashlytics 在您的应用中报告崩溃。

    【讨论】:

    • 其实我上个月就是因为这个问题才开始使用 Firebase Crashlytics。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2018-07-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-09-01
    相关资源
    最近更新 更多