Connection Failed=>ConnectionResult{statusCode=SERVICE_VERSION_UPDATE_REQUIRED, resolution=null, message=null} Android Wear

扶醉桌前 提交于 2019-12-01 14:46:14

Some Android Wear watches (about 10%, according to polls) got stuck at lower Play Services versions. If your watch is one of them, neither pressing the version number, nor anything else will make it update. Google are aware of the issue (see here and here), and likely to find a solution soon (see here). Temporarily they advise not to use Play Sevices 9.x, until the problem is resolved.

Pay attention to the fact, that the wearable apk using 9.x, wrapped into the Application-release.apk will not be deployed on watches stuck at 8.x. It'll be waiting forever for the Play Services to update.

E.g. use:

compile "com.google.android.gms:play-services-location:8.4.0"

instead of

compile "com.google.android.gms:play-services-location:9.4.0"

in your build.gradle on both Application and Wearable sides.

It doesn't matter that your phone runs a higher version.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!