Norne9 / Unity-ANR-Watchdog

This package will allow you to reduce the number of ANRs of your application.
Other
11 stars 6 forks source link

ClassNotFoundException: Didn't find class "com.google.gson.Gson" #4

Open bborik opened 1 year ago

bborik commented 1 year ago

Caused by: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/gson/Gson; at com.norne.anrwatchdog.Watchdog.saveStacktrace (Watchdog.java:42) at com.norne.anrwatchdog.Watchdog.lambda$startWatchdog$0$Watchdog (Watchdog.java:93) at com.norne.anrwatchdog.-$$Lambda$Watchdog$_h7Z1a24zX85OS81msvLExDKmmw.onAppNotResponding at com.norne.anrwatchdog.ANRWatchDog.run (ANRWatchDog.java:161) Caused by java.lang.ClassNotFoundException: Didn't find class "com.google.gson.Gson" on path: DexPathList[[zip file "/data/app/ru.borik.marketgame.android-t7toSBkfJVUQsNqoBO1wYA==/base.apk", zip file "/data/app/ru.borik.marketgame.android-t7toSBkfJVUQsNqoBO1wYA==/split_config.armeabi_v7a.apk"],nativeLibraryDirectories=[/data/app/ru.borik.marketgame.android-t7toSBkfJVUQsNqoBO1wYA==/lib/arm, /data/app/ru.borik.marketgame.android-t7toSBkfJVUQsNqoBO1wYA==/base.apk!/lib/armeabi-v7a, /data/app/ru.borik.marketgame.android-t7toSBkfJVUQsNqoBO1wYA==/split_config.armeabi_v7a.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]] at dalvik.system.BaseDexClassLoader.findClass (BaseDexClassLoader.java:125) at java.lang.ClassLoader.loadClass (ClassLoader.java:379) at java.lang.ClassLoader.loadClass (ClassLoader.java:312)

mtemnikov commented 1 year ago

Also we struggling with that crash