I am testing android wear app on Wear Emulator and using eclipse to develop.
In wear app there are code as below in onCreate:
mGoogleApiClient = new GoogleApiClient.Builder(this).addConnectionCallbacks(this).addOnConnectionFailedListener(new GoogleApiClient.OnConnectionFailedListener()
{
@Override
public void onConnectionFailed(ConnectionResult result)
{
Log.d(TAG, "onConnectionFailed: " + result);
}
}).addApi(Wearable.API).build();
mGoogleApiClient.connect();
When I run this on Wear emulator I got error as below:
W/GooglePlayServicesUtil(1809): Google Play services out of date. Requires 5089000 but found 5077534
D/WearApp(1809): onConnectionFailed: ConnectionResult{statusCode=SERVICE_VERSION_UPDATE_REQUIRED, resolution=null}
If any one have solution or tips for that then please let me know.
Thanks!