usb连接设备
进入adb shell
- netcfg | grep wlan // 查看ip
wlan0 UP 10.0.0.74/22 0x00001043 00:00:11:11:16:f7
-
setprop service.adb.tcp.port 5555 // tcp端口设置
-
stop adbd && start adbd & // 重启adbd
自动退出adb后
- adb tcpip 5555 // 以指定端口重启adb server
- adb connect 10.0.0.74
- adb shell // 尽情调试吧
网友评论