【问题标题】:Crashlytics doesn't catch SIGSEGV in AndroidCrashlytics 无法在 Android 中捕获 SIGSEGV
【发布时间】:2018-02-09 00:56:15
【问题描述】:

今天我们发现 Crashlytics 无法捕获 SIGSEGV 崩溃,但 google play console 可以。在游戏控制台中看到许多这样的崩溃,我们感到非常惊讶。

我们希望将崩溃报告集中在一个地方。我们可以使用 crashlytics 捕获 SIGSEGV 崩溃吗?

【问题讨论】:

  • 您在使用 Crashlytics NDK SDK 吗?
  • 我应该吗?我没有任何本机代码,只有 3rd 方库会导致这种情况。默认情况下,Google Play 控制台会执行此操作。

标签: crashlytics google-fabric crashlytics-android


【解决方案1】:

标准的 Android Crashlytics SDK 会捕获 Java 崩溃。由于 SIGSEGV 是本机崩溃,您还需要包含 Crashlytics NDK SDK,无论 SIGSEGV 源自应用程序的本机库还是第三方库。查看https://fabric.io/downloads/gradle(打开 NDK 拨动开关)了解设置说明。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2023-02-11
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-07-04
    • 2013-04-18
    相关资源
    最近更新 更多