Awareness API not available in Android Wear 2.0

498 Views Asked by At

I'm trying to use the Awareness Fence API on Android Wear 2.0 but unable to do so.

When I setup the GoogleApiClient with Awareness.API and call connect(), I get these errors in logcat.

02-17 04:17:55.215 495-30247/? W/ActivityManager: Unable to start service Intent { act=com.google.android.contextmanager.service.ContextManagerService.START pkg=com.google.android.gms } U=0: not found
02-17 04:17:55.216 495-2552/? W/ActivityManager: Unbind failed: could not find connection for android.os.BinderProxy@9d06352
E/GmsClient: unable to connect to service: com.google.android.contextmanager.service.ContextManagerService.START on com.google.android.gms

It's a Huawei watch with Android Wear 2.0 DP5, and GMS 10.2.0. Tried to search but came up with nothing, mostly just news about both of them together. Admittedly, haven't tried this on the phone yet.

I have been using the LocationService API from GMS successfully on the watch so I know at least the credentials/API key is set up properly for it, and I'm using a different instance of the GoogleApiClient than the one I use for LocationServices.

Anybody have any experience with this and know if it's not supported yet?

Thanks

0

There are 0 best solutions below