Bek*_*Bek 5 android firebase firebase-crash-reporting
致命异常显示在Firebase仪表板中。但非致命异常未显示在Firebase crashlytics和 中Firebase crash reporting。在非致命崩溃后,我重新启动了应用程序几次,但在Firebase dashboard. 依赖项是:-
implementation('com.crashlytics.sdk.android:crashlytics:2.9.1@aar') {
transitive = true
}
implementation 'com.google.firebase:firebase-core:11.8.0'
implementation 'com.google.firebase:firebase-messaging:11.8.0'
Run Code Online (Sandbox Code Playgroud)
以下是非致命异常的代码。
try {
throw new IndexOutOfBoundsException("Fake IndexOutOfBoundsException");
} catch (Exception e) {
Crashlytics.logException(e);
}
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
2142 次 |
| 最近记录: |