Connection to google Play Services Failed

☆樱花仙子☆ 提交于 2019-12-03 21:08:52

I had a similar error recently. I solved it by adding the correct information in the Google APIs Console, specifically in the API Access pane.

In my case I was missing an OAuthClient 2.0 id. Documentation here

One more suggestion from me, if someone will need it in the future. Except the API settings and Google Console Authentication process pay attention on a little detail: on Google Console it is necessary that the application has a Product Name from Apis&Auth -> Consent Screen(see the image below). In my case i didnt set a product name and that was the reason of the SIGN_IN_REQUIRED error.

This problem occurs in two cases:

1) Google Play services library is not included correctly.

2) Dev console is not setup right. (Also if you just setup your dev console, it takes few minutes to propagate sometimes.)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!