java.lang.RuntimeException: Internal error in Firestore (0.6.6-dev) after updating Firestore version

后端 未结 3 1679
别那么骄傲
别那么骄傲 2021-01-24 10:38

I am getting below error after updating from firestore:17.0.1 to firestore:17.0.2

java.lang.RuntimeException: Internal error in Firest         


        
3条回答
  •  醉梦人生
    2021-01-24 11:11

    To solve this, please add the following line of code in your build.gradle file:

    implementation 'com.google.firebase:firebase-core:16.0.1'
    

    According to the official documentation:

    Your app gradle file now has to explicitly list com.google.firebase:firebase-core as a dependency for Firebase services to work as expected.

    Don't also forget to add in your top level build.gradle file the latest version of Google Play Services:

    classpath 'com.google.gms:google-services:4.0.1'
    

    Please see here more informations.

提交回复
热议问题