Open kovalyovkirill opened 5 years ago
Looks like, it's because of trying to send event data before app metrika is inited, Need some api which implement appInititialization state
I confirm this problem
java.lang.NoClassDefFoundError: at com.yandex.metrica.impl.ob.hj.a (SourceFile:62) at com.yandex.metrica.impl.ob.hm.a (SourceFile:41) at com.yandex.metrica.impl.ob.ho$b.handleMessage (SourceFile:62) at android.os.Handler.dispatchMessage (Handler.java:109) at android.os.Looper.loop (Looper.java:207) at android.os.HandlerThread.run (HandlerThread.java:65) Caused by: java.lang.ClassNotFoundException: at dalvik.system.BaseDexClassLoader.findClass (BaseDexClassLoader.java:134) at java.lang.ClassLoader.loadClass (ClassLoader.java:379) at java.lang.ClassLoader.loadClass (ClassLoader.java:312)
Android 9 Galaxy S8+ (dream2lte) Honor 10
In google console shows crashes at some devices, mostly at Honor. This stack trace output.
java.lang.IllegalStateException: at com.yandex.metrica.impl.bm. (SourceFile:33)
at com.yandex.metrica.impl.bp.b (SourceFile:138)
at com.yandex.metrica.impl.bp.c (SourceFile:152)
at com.yandex.metrica.YandexMetrica.reportError (SourceFile:129)
at com.yandex.metrica.plugin.cordova.AppMetricaPlugin.reportError (AppMetricaPlugin.java:240)
at com.yandex.metrica.plugin.cordova.AppMetricaPlugin.access$200 (AppMetricaPlugin.java:30)
at com.yandex.metrica.plugin.cordova.AppMetricaPlugin$1.run (AppMetricaPlugin.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:636)
at java.lang.Thread.run (Thread.java:764)