我试图连接到Googlefit,但是我得到了一个奇怪的错误代码,如下所示
E/GooglePlayServicesUtil:意外错误代码5005
有没有人事先知道this.Thanks的事?
发布于 2015-03-05 01:32:16
我在这篇文章的答案的帮助下解决了这个错误:
https://stackoverflow.com/a/28391583/2977169
@Sumoanand:
我也面临着类似的问题。
This issue occurs if app is not registered properly in google developer console.我认为您已经在Google控制台上注册了应用程序,使用了生产密钥库证书指纹(SHA1),当您在具有调试密钥库的应用程序上测试它时。
执行下列步骤:
Create one more client Id using debug keystore certificate fingerprint(SHA1).
Uninstall existing app.
Install app & connect to Google fit.
Check under google fit app & make sure that your app is listed as a connected app (... > Settings > Connected apps > Connected apps & devices).
Now run the above code & it will work !!!发布于 2015-03-04 10:26:26
我犯了这个错误,同意屏幕已被正确填写。唯一能解决这个问题的方法就是删除这个项目并重新创建它。
发布于 2016-12-15 08:58:40
在连接到Google之前,我将设备日期更改为过去的时间,并得到了错误5005。
在更改为当前时间后,它可以工作:)
https://stackoverflow.com/questions/26361874
复制相似问题