I'm attempting to get a user's current location on Glass.
Calling mLocationClient.connect()
fails without any resolution. Then I checked if Google Play Services was available on the device with:
GooglePlayServicesUtil.isGooglePlayServicesAvailable(this);
This returns ConnectionResult.SERVICE_INVALID
, which according to the documentation means that "The version of the Google Play services installed on this device is not authentic."
The Setup Google Play Services SDK guide does not describe that scenario.
Does this appear to be a bug on Glass itself? If so, I'll file a bug report.
Google Play Services is not available on Glass at this time. You may have unpredictable results if you attempt to use it, or related features.
If this is something you care about, please let Google know. File an issue in the Glass platform issue tracker and, if possible, describe a use case you're working on that requires it. This helps the Glass team prioritize features.
来源:https://stackoverflow.com/questions/18258408/google-play-services-not-authentic-on-glass