Search Unity

No static method zzb?

Discussion in 'Editor & General Support' started by chuakc92, Nov 29, 2016.

  1. chuakc92

    chuakc92

    Joined:
    Nov 22, 2016
    Posts:
    20
    I recently tried integrating both Firebase Remote Config and Google Mobile Ads into my project.

    With just Firebase Remote Config, the build works fine. But once I integrated Google Mobile Ads, the build crashes on startup with the following error: http://pastebin.com/5GYMdrbd

    " java.lang.NoSuchMethodError: No static method zzb(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; in class Lcom/google/android/gms/common/internal/zzaa; or its super classes "

    How do I fix this error? Could it be because Google Mobile Ads and Remote Config uses conflicting versions of Google Play Services?

    Specs:
    Unity 5.3.5f
     
    InspiredSquare likes this.
  2. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,562
    The error occurs due to a missing method (Java) that is called, but cannot be found.

    The method names (zzb / zzaa) look like obfuscated code. It may be, that Google mobile ads includes some libraries that are "colliding" with Firebase remote config, causing this error.

    Could you list what other native plugins are you using ? from the crash, it looks like you are using something called Xposed?

    Also, can you mention what plugins are you using for integrating Firebase and Google mobile ads?
     
    InspiredSquare likes this.