先连接usb线执行,表示重启tcpip,并监听5555端口:
adb tcpip 5555
断开usb线,执行连接命令
adb connect 10.10.61.145
或
adb connect 10.10.61.145:555
断开连接指定IP设备
adb disconnect 10.10.61.145
或
adb disconnect 10.10.61.145:5555
断开所有连接设备
adb disconnect
这篇博客介绍了如何通过ADB工具进行TCP/IP连接管理,包括使用adb tcpip命令重启TCP/IP并监听5555端口,然后断开USB线并通过adb connect命令连接到设备的IP地址。此外,还展示了如何断开指定IP设备的连接以及断开所有设备的连接,是Android开发者调试设备的重要参考。
先连接usb线执行,表示重启tcpip,并监听5555端口:
adb tcpip 5555
断开usb线,执行连接命令
adb connect 10.10.61.145
或
adb connect 10.10.61.145:555
断开连接指定IP设备
adb disconnect 10.10.61.145
或
adb disconnect 10.10.61.145:5555
断开所有连接设备
adb disconnect
4190
2071
798

被折叠的 条评论
为什么被折叠?