crashlytics android本机崩溃未能在仪表板上报告

时间:2017-12-06 08:08:17

标签: c++ android-ndk android-gradle native crashlytics-android

我在android应用程序中整合crashlytics以获取本机崩溃。我已按照链接说明: https://fabric.io/downloads/gradle/ndk

我正在使用crashlyticsUploadSymbolsRelease或crashlyticsUploadSymbolsDebug编译项目,我可以在构建文件夹中看到CSYM,但我不确定它是否上传了。 另外,我没有看到手动将csym上传到崩溃的选项。

我在c ++代码中崩溃了应用程序,但崩溃未报告到仪表板,但JAVA崩溃已成功报告到仪表板。

我可以在登录crashlyticscore中看到以下异常:

D/CrashlyticsCore(8077): Could not generate ID for file /data/data/com.package.dummy/cache/1501670890290.dex (deleted)
01-02 12:19:58.499: D/CrashlyticsCore(8077): java.io.FileNotFoundException: /data/app/com.package.dummy-1/lib/arm/1501670890290.dex (deleted): open failed: ENOENT (No such file or directory)
01-02 12:19:58.499: D/CrashlyticsCore(8077):    at libcore.io.IoBridge.open(IoBridge.java:452)
01-02 12:19:58.499: D/CrashlyticsCore(8077):    at java.io.FileInputStream.<init>(FileInputStream.java:76)
01-02 12:19:58.499: D/CrashlyticsCore(8077):    at java.io.FileInputStream.<init>(FileInputStream.java:103)
01-02 12:19:58.499: D/CrashlyticsCore(8077):    at com.crashlytics.android.core.Sha1FileIdStrategy.getFileSHA(Sha1FileIdStrategy.java:28)
01-02 12:19:58.499: D/CrashlyticsCore(8077):    at com.crashlytics.android.core.Sha1FileIdStrategy.createId(Sha1FileIdStrategy.java:17)
01-02 12:19:58.499: D/CrashlyticsCore(8077):    at com.crashlytics.android.core.BinaryImagesConverter.parseProcMapsJson(BinaryImagesConverter.java:67)
01-02 12:19:58.499: D/CrashlyticsCore(8077):    at com.crashlytics.android.core.BinaryImagesConverter.convert(BinaryImagesConverter.java:33)
01-02 12:19:58.499: D/CrashlyticsCore(8077):    at com.crashlytics.android.core.NativeFileUtils.processBinaryImages(NativeFileUtils.java:85)
01-02 12:19:58.499: D/CrashlyticsCore(8077):    at com.crashlytics.android.core.NativeFileUtils.binaryImagesJsonFromFile(NativeFileUtils.java:72)
01-02 12:19:58.499: D/CrashlyticsCore(8077):    at com.crashlytics.android.core.NativeFileUtils.binaryImagesJsonFromDirectory(NativeFileUtils.java:62)
01-02 12:19:58.499: D/CrashlyticsCore(8077):    at com.crashlytics.android.core.CrashlyticsController.finalizeMostRecentNativeCrash(CrashlyticsController.java:883)
01-02 12:19:58.499: D/CrashlyticsCore(8077):    at com.crashlytics.android.core.CrashlyticsController.access$1500(CrashlyticsController.java:67)
01-02 12:19:58.499: D/CrashlyticsCore(8077):    at com.crashlytics.android.core.CrashlyticsController$16.call(CrashlyticsController.java:953)
01-02 12:19:58.499: D/CrashlyticsCore(8077):    at com.crashlytics.android.core.CrashlyticsController$16.call(CrashlyticsController.java:943)
01-02 12:19:58.499: D/CrashlyticsCore(8077):    at java.util.concurrent.FutureTask.run(FutureTask.java:237)
01-02 12:19:58.499: D/CrashlyticsCore(8077):    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
01-02 12:19:58.499: D/CrashlyticsCore(8077):    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
01-02 12:19:58.499: D/CrashlyticsCore(8077):    at io.fabric.sdk.android.services.common.ExecutorUtils$1$1.onRun(ExecutorUtils.java:75)
01-02 12:19:58.499: D/CrashlyticsCore(8077):    at io.fabric.sdk.android.services.common.BackgroundPriorityRunnable.run(BackgroundPriorityRunnable.java:30)
01-02 12:19:58.499: D/CrashlyticsCore(8077):    at java.lang.Thread.run(Thread.java:818)
01-02 12:19:58.499: D/CrashlyticsCore(8077): Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)
01-02 12:19:58.499: D/CrashlyticsCore(8077):    at libcore.io.Posix.open(Native Method)
01-02 12:19:58.499: D/CrashlyticsCore(8077):    at libcore.io.BlockGuardOs.open(BlockGuardOs.java:186)
01-02 12:19:58.499: D/CrashlyticsCore(8077):    at libcore.io.IoBridge.open(IoBridge.java:438)

0 个答案:

没有答案