NoSuchMethodError: No static method zzb

前端 未结 3 526
感动是毒
感动是毒 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: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:+'
    

提交回复
热议问题