Im trying to make a service that tracks the phone with the google fused location api but the GoogleApiClient can't connect to LocationService.API
This is the message i get when i search in the console for google api client
Couldn't connect to Google API client: ConnectionResult{statusCode=API_UNAVAILABLE, resolution=null}
The GoogleApiClient code i used to connect is this
mGoogleApiClient = new GoogleApiClient.Builder(this)
.addConnectionCallbacks(this)
.addOnConnectionFailedListener(this)
.addApi(LocationServices.API)
.build();
just like every tutorial on the internet tells me to use.
Do anyone know why this doesn't work for me? I can get the gps position from the android api.