且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

不能与设备连接Android Wear模拟器

更新时间:2021-09-18 22:41:14

@Lance Nanek基本上帮我解决了这个问题。如果你有类似的问题,这些步骤可能会有帮助。

@Lance Nanek basically helped me solved this problem. In case you had the similar problem, these steps might be helpful.

  1. 运行ADB设备,你应该看到两个设备,一个是你的 仿真器,另一种是用Android Wear preVIEW应用程序,您的设备 安装。

  1. run 'adb devices' , you should see two devices, one is your emulator, the other is your device with Android Wear Preview app installed.

您可能会看到你的模拟器下线,如果是的话,杀模拟器。从AVD,启动它,小心取消选中从快照启动' - 这 是对比的Andr​​oid穿上手指令:启动AVD 再次,但是从快照选择启动并取消保存 快照。

you might see your emulator offline, if so, kill the emulator. From avd, start it, carefully uncheck 'launch from snapshot' - this is contrast to Android Wear Get started instruction: "Start the AVD again, but select Launch from snapshot and deselect Save to snapshot."