在google fit中获取错误"连接失败.原因:ConnectionResult {statusCode = unknown status code 5005,resolution = null}"

Rak*_*i s 4 google-api google-play-services google-fit android-5.0-lollipop

我试图使用谷歌适合开发应用程序.我关注链接

当我尝试运行该应用程序时,我收到以下错误

10-27 11:55:19.966:I/Google Fit(6016):连接失败.原因:ConnectionResult {statusCode =未知状态代码5005,分辨率= null}

10-27 11:55:19.966:E/GooglePlayServicesUtil(6016):意外错误代码5005

Rak*_*i s 5

最后我发现了这个问题.我们需要在誓言和api下的同意屏幕中保存内容在此输入图像描述