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

前端 未结 18 662
再見小時候
再見小時候 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:16

    I had this issue, i deleted the google.json / google.plist file and started the app again. clean the build folder, clear caches, delete the app off simulator, restart it, do pod update && pod install... etc. I found for me this happened when the google file was messed up

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

    Firebase is not good for analytics. google merge Google Analytics with firebase from then this irritating issue occurred. Previously Google analytics was working superbly within sec. Now we don't have options just skip this step and hope it'll work automatically after sometime.

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

    Thanks to @Udayraj Deshmukh comment I fixed the issue. I thought I will add this as an answer as it helped me

    Simply go to your app-level Gradle and add this:

    apply plugin: 'com.google.gms.google-services'
    

    Firebase SDK guide forgot to tell you to include the plugin.

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

    Make sure you don't have any network-level adblockers running, which may be blocking calls to Firebase.

    In my case, I had to disable Pi-Hole in order to allow my app to connect to Firebase over my network.

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

    None of the above answers helped me. But @kotlinski's answer helped me to go AndroidManifest.xml to check issue. In my case, this was the entry in AndroidManifest.xml.

    <meta-data
            android:name="firebase_analytics_collection_enabled"
            android:value="false" />
    

    I just modified it to true, in order to make things work. Immediately I got message on FCM console 'Congratulations, you've successfully added Firebase to your app! '

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

    If any one is getting like this in console :

    com.google.firebase.FirebaseException: An internal error has occurred. [ API key not valid. Please pass a valid API key. ]
    

    Just change the version of google services at project level gradle and sync your project and reinstall.

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

    This work for me I

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