参考链接:https://www.cnblogs.com/joekk01/p/9925440.html

 

step1:手机 usb 连接PC

adb devices查看设备是否正常连接

 

step2: 查看IP (PC和手机连接同一个wifi热点)

adb shell ifconfig wlan0;或者直接在“手机-设置”里面查看 

wifi 连接 Android设备 使用adb 指令

 

 

step3:重启tcpip,并监听5555端口 

adb tcpip 5555

 

step4:建立adb连接

断开usb连接

adb connect 192.168.. (手机ip地址)

如果出现 “missing port in specification: tcp:xx.xx.xx.xx” 的提示,在指令后面加端口的后缀

本例中:adb connect  30.17.109.169:5555

 

step5:断开adb连接

adb disconnect  30.17.109.169:5555

 

 

 

 

 

 

相关文章:

  • 2021-08-28
  • 2021-12-16
  • 2021-12-22
  • 2022-12-23
  • 2021-12-20
  • 2021-09-09
猜你喜欢
  • 2021-12-28
  • 2021-06-18
  • 2022-12-23
  • 2021-11-21
相关资源
相似解决方案