【发布时间】:2015-11-08 18:35:46
【问题描述】:
与 SO 上的许多其他问题一样,我遇到了类似的错误消息。与其他问题不同,这是关于硬件调试设备。
我的 gradle wear-build 文件如下所示:
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.google.android.support:wearable:1.2.0'
compile 'com.google.android.gms:play-services-wearable:8.3.0'
compile 'com.android.support:appcompat-v7:23.1.0'
}
在模拟器中调试应用程序可以正常工作,但是一旦我发布应用程序并将其安装到我的可穿戴设备上,移动设备和可穿戴设备之间的连接将无法正常工作。通过蓝牙调试磨损(这不是很快),显示了这一小行调试信息:
W/GooglePlayServicesUtil: Google Play services out of date. Requires 8298000 but found 8107534
我认为 gradle 依赖项会将可穿戴服务打包到随附的 apk 中(因为存在“编译”),这不正确吗?
如何让硬件手表工作?
【问题讨论】:
标签: android bluetooth google-play-services wear-os