Hello,
Many users of my application have reported to me that the application is crashing.
After checking, I found several causes of crashes, (there are almost none that I can fix), such as crashes related to Fabric, but the main cause of crash is as follows:
More than 20 users of my applications are experiencing the same error:
java.lang.NoSuchMethodError
com.google.android.gms.internal.measurement.zzez.<clinit>
According to my research, this error comes from Firebase, and the solution would be to update the SDK. (like here)
I use Firebase DB in my app, and it work perfectly for me and more than 70 others users ! If the problem really comes from Firebase, I can share firebase blocks if needed
Here is one of the crash report (i have 20+ more if needed) :
Open crash report
java.lang.NoClassDefFoundError:
at com.google.android.gms.internal.measurement.zzez.zza (Unknown Source)
at com.google.android.gms.internal.measurement.zzgn.<init> (Unknown Source:64)
at com.google.android.gms.internal.measurement.zzgn.zza (Unknown Source:49)
at com.google.android.gms.internal.measurement.zzgd.onReceive (Unknown Source:10)
at com.google.android.gms.measurement.AppMeasurementInstallReferrerReceiver.onReceive (Unknown Source:29)
at android.app.ActivityThread.handleReceiver (ActivityThread.java:3804)
at android.app.ActivityThread.-wrap18 (Unknown Source)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2082)
at android.os.Handler.dispatchMessage (Handler.java:108)
at android.os.Looper.loop (Looper.java:166)
at android.app.ActivityThread.main (ActivityThread.java:7529)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:245)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:921)
Caused by: java.lang.NoSuchMethodError:
at com.google.android.gms.internal.measurement.zzez.<clinit> (Unknown Source:88)
at com.google.android.gms.internal.measurement.zzez.zza (Unknown Source)
at com.google.android.gms.internal.measurement.zzgn.<init> (Unknown Source:64)
at com.google.android.gms.internal.measurement.zzgn.zza (Unknown Source:49)
at com.google.android.gms.measurement.AppMeasurement.getInstance (Unknown Source:4)
at java.lang.reflect.Method.invoke (Native Method)
at com.google.firebase.FirebaseApp.zza (SourceFile:739)
at com.google.firebase.FirebaseApp.zze (SourceFile:709)
at com.google.firebase.FirebaseApp.initializeApp (SourceFile:328)
at com.google.firebase.FirebaseApp.initializeApp (SourceFile:294)
at com.google.firebase.FirebaseApp.initializeApp (SourceFile:281)
at com.google.firebase.provider.FirebaseInitProvider.onCreate (SourceFile:37)
at android.content.ContentProvider.attachInfo (ContentProvider.java:1921)
at android.content.ContentProvider.attachInfo (ContentProvider.java:1896)
at com.google.firebase.provider.FirebaseInitProvider.attachInfo (SourceFile:31)
at android.app.ActivityThread.installProvider (ActivityThread.java:7212)
at android.app.ActivityThread.installContentProviders (ActivityThread.java:6699)
at android.app.ActivityThread.handleBindApplication (ActivityThread.java:6600)
at android.app.ActivityThread.-wrap2 (Unknown Source)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2066)
Android version
If someone can help me to find out more about the cause of this error, or to solve it !
Thanks !