NoSuchMethodError: No static method zzb

前端 未结 3 523
感动是毒
感动是毒 2021-01-19 05:35

I just upgraded my Android Studio Version from 2.1 to 2.2.2 and I also upgraded a bunch of other Google dependencies (play services and all support libraries) to version 25.

相关标签:
3条回答
  • 2021-01-19 06:06

    update all library versions and gms version as well . It will definitely work. Make sure all google services library you are using must be of same version

    0 讨论(0)
  • 2021-01-19 06:11

    I also saw this since a couple days ago after updating my sdk. This works for me: Update your firebase library to version 10. You can do this by updating into these lines in build.gradle file:

    compile 'com.google.firebase:firebase-core:10.0.0'
    compile 'com.google.firebase:firebase-messaging:10.0.0'
    

    You may have different firebase component on your project, so adjust accordingly.

    But you can change the version to:

    compile 'com.google.firebase:firebase-core:+'
    compile 'com.google.firebase:firebase-messaging:+'
    
    0 讨论(0)
  • 2021-01-19 06:18

    compile 'com.google.android.gms:play-services:+' compile 'com.google.firebase:firebase-core:+'

    The one that works for me

    0 讨论(0)
提交回复
热议问题