GoogleApiClient
会在连接暂停时(即调用 onConnectionSuspended()
回调时)记录以下错误:
GmsClient E 在仍然连接的情况下调用 connect(),缺少 disconnect()。
看来客户端正在自动调用 connect()
或 reconnect()
以响应可能的 transient 错误。如果错误未在 10 秒左右内解决,则会调用 onConnectedFailed()
回调。
此错误消息只是误报,还是表明我在使用 GMS API 时存在实际问题?如果重要的话,我正在使用 Cast API。
最佳答案
该消息无害。您看到任何副作用了吗?
关于android - GmsClient "calling connect() while still connected"暂停时,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24921782/