Menu Home

Andorid Wear调试

通过USB

adb -d forward tcp:5601 tcp:5601

通过蓝牙

1、在手机端打开Android Wear应用

2、点击界面右上的菜单并选择设置(Settings)

3、开启“通过蓝牙调试”(Debugging over Bluetooth)。你可以看到设备连接状态: Host: disconnected Target: connected

4、手机用usb连接电脑,并执行adb命令:

adb forward tcp:4444 localabstract:/adb-hub;

adb connect localhost:4444

你就可以看到刚才的连接状态就变成了: Host: connected Target: connected

Categories: android wear

Tagged as:

lnmcc

Leave a Reply

Your email address will not be published.