如何修复 adb pair 错误:unknown host service
问题:
尝试 adb pair 到你的设备时,你看到类似这样的错误消息
adb_pair_error_output.txt
$ adb pair 10.9.1.104:34879
Enter pairing code: 232521
error: unknown host service配对失败
解决方案
你没有运行(正确版本?)的 ADB 服务器。
运行
adb_kill_server.sh
adb kill-server然后重试你的 adb pair 命令。
如果那不起作用,重启你的设备。
Check out similar posts by category:
Android
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow