【发布时间】:2015-02-03 09:16:22
【问题描述】:
我正在尝试将 Google Fit API 实施到我的 android 可穿戴应用程序中。 我已按照 GoogleFitAPI 在线步骤注册 OAuth ID。
尝试连接时,我收到无效帐户错误。
我是否需要在开发者 API 控制台中启用免费试用,还是有其他问题导致此问题?
mClient = new GoogleApiClient.Builder(this)
.addApi(Fitness.API)
.addScope(Fitness.SCOPE_ACTIVITY_READ)
.addConnectionCallbacks(this)
.addOnConnectionFailedListener(this)
.build();
【问题讨论】:
标签: android google-play-services wear-os