NoSuchMethodError: No virtual method zzEq()Z in class Lcom/google/firebase/FirebaseApp;

前端 未结 1 1673
一向
一向 2021-01-25 13:29

Below is the fatal error that I keep getting on my App. I am trying to run a chat messenger feature on my application using Firebase. It was running however it has since kept cr

相关标签:
1条回答
  • 2021-01-25 14:11

    I had a similar problem while reading/writing to firebase database this small change worked for me. Try removing unnecessary firebase dependencies and make sure you use the same version for all the firebase dependencies for those that you use. In my case I changed my firebase dependencies from:

    implementation 'com.google.firebase:firebase-firestore:11.8.0'
    implementation 'com.google.firebase:firebase-database:16.0.1'
    implementation 'com.google.firebase:firebase-core:16.0.0'
    

    to these:

    implementation 'com.google.firebase:firebase-firestore:11.8.0'
    implementation 'com.google.firebase:firebase-database:11.8.0'
    implementation 'com.google.firebase:firebase-core:11.8.0'
    

    I'm sure you might have spent a lot of time trying to fix this. Might as well turn out worth a shot :)

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