Reputation: 8071
1) Calling connect()
while still connected, missing disconnect()
.This error occurs in following scenario,
Switch off Wifi and launch my App First time.
I try to connect GoogleAPiClient onCreate()
of Activity
Got Error dialog, Network Error:A data connection is required to connect to GoogleApiClient.
So Switch ON WIFI, again open my App.
Got connect()
while still connected, missing disconnect()
error.
From my debugging I found,no GoogleApiClient connection callback methods are called when this occurs.
Note : This error not occurs, if I remove my google account from my device and add again. Also I used old version of Google play services.Is it affects anything.(As I used LocationClient API in my app I cant update to new Google play services, because it is updated to LocationServices API)
Upvotes: 0
Views: 967
Reputation: 250
Poblem solved, when all data from Google Play services app was deleted. I think, problem is when play services remember every application which have succesfull authorization. But your application is not succesfully authorizated, or is authorizated in early version.
Upvotes: 1