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

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

    In my case the problem was that in the gradle file at project level, I had set the latest google-services, which at the time of this answer is 4.3.0:

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

    Then I noticed that in the Firebase wizard, the configuration steps showed instead a previous version: 4.2.0

    Changing my gradle one to match the same version as shown in the Firebase configuration wizard solved the problem.

    Note: so, my conclusion is that regardless of which one is the latest google-services version, (and the versions we talk about in this stack-overflow question and answer), we should always use the version shown in the Firebase wizard configuration steps.

提交回复
热议问题