FireBase stuck on “Run your app to verify installation” for android

前端 未结 18 723
再見小時候
再見小時候 2021-02-05 00:57

I\'m new to android development, since a long time, I\'m stuck in one error that is Run your app to verify installation (Checking if the app has communicated with our servers. Y

相关标签:
18条回答
  • 2021-02-05 01:35

    If the application is still empty, you need to add internet permission in the manifest. <uses-permission android:name="android.permission.INTERNET"/>

    0 讨论(0)
  • 2021-02-05 01:36

    I found that, even though I wasn't using Analytics (only functions and firestore), I had to add the analytics line in the build.gradle file, or:

    implementation 'com.google.firebase:firebase-analytics:17.5.0'
    

    in order for the automatic app detection to work.

    I think if you know what you are doing, and don't need analytics, it is fine to just skip this step.

    0 讨论(0)
  • 2021-02-05 01:39

    Incase you are running the app in a physical android device ensure it has the same google account as used to sign up for Firebase.

    0 讨论(0)
  • 2021-02-05 01:40

    Just run flutter clean command in Android studio terminal, then reinstall and then try connecting it in firebase it will work

    0 讨论(0)
  • 2021-02-05 01:40

    In my case Fabric was conflicting with Firebase. When i removed Fabric from packages, it started working. Also i have seen cases when there is problem to verify, when phone is connected to wifi. In this case change network to Mobile data.

    0 讨论(0)
  • 2021-02-05 01:41

    You have to do nothing for your question but run the app on the android emulator or a real android device. If you have made your app and later added the dependencies, then you need to delete the app from the device/emulator and install the app again.

    By doing this, when the app runs, it passes variables from the google-services.json file to the firebase servers and checks if the same app is communicating or not.

    This step is to verify the correct installation of firebase dependencies in the app. If you find it difficult, you can skip the process anyway.

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