📜  通过 wifi 连接 adb - 任何代码示例

📅  最后修改于: 2022-03-11 14:55:14.745000             🧑  作者: Mango

代码示例1
# sleep 5 is to wait for the device to restart listening.
adb kill-server && adb tcpip 5555 && sleep 5 && adb shell ip route | awk '{print $9}' | xargs adb connect