kotlin 1.4.30 firebase crashlytics issue

Viewed 1229

After updating to kotlin 1.4.30 from 1.4.21, I found some issue:

Firebase crashlytics is not working. my logcat says

 java.util.concurrent.TimeoutException
    at com.google.firebase.crashlytics.internal.common.Utils.awaitEvenIfOnMainThread(Utils.java:122)
    at com.google.firebase.crashlytics.internal.common.CrashlyticsController.handleUncaughtException(CrashlyticsController.java:237)
    at com.google.firebase.crashlytics.internal.common.CrashlyticsController$1.onUncaughtException(CrashlyticsController.java:154)
    at com.google.firebase.crashlytics.internal.common.CrashlyticsUncaughtExceptionHandler.uncaughtException(CrashlyticsUncaughtExceptionHandler.java:54)
    at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1068)
    at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1063)
    at java.lang.Thread.dispatchUncaughtException(Thread.java:1955)
 Sending signal. PID: 17336 SIG: 9

A roll back to 1.4.21 fixes the issue.

Is anyone facing the same issue?

1 Answers

This was happening to me on the emulator, but not on the device.

Make sure your network does not have Charles, a proxy or any sort of mechanism that prevents Firebase from sending the crash report.

Related