[IMPORTANT crash !] java.lang.NoSuchMethodError

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

image

Device list

If someone can help me to find out more about the cause of this error, or to solve it !
Thanks !

5 Likes

The app is now crashing for more than 100 users because of this error !


I receive 1-star reviews because people can’t use the application because of this !
I’ve been looking everywhere, I can’t find anything I can do to solve this!
image

4 Likes

I still don’t know what this bug is coming from, or how to fix it.
The application crashes for more than 130 users (on 300 install !), regardless of the device or OS. I get negative ratings, and many people couldn’t even try the game before uninstalling it.
All my work is wasted by this, and I have no idea why.:face_with_thermometer:

@Kodular might want to look at this and give some feedback
Taifun

4 Likes

I finally managed to solve this problem!
I had left Firebase Remote Config on one of the screens, and it was causing this problem!
Conclusion: Do not use Firebase Remote Config in Kodular

1 Like

Do not use Firebase Remote Config in Kodular

Don’t mislead people! Don’t use it with an other Firebase component.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.