赞
踩
1、手机和电脑同一个网络
2、电脑USB连接手机
3、命令行输入
adb tcpip 5555
4、查看手机IP
adb shell ifconfig wlan0
Android10通过以下命令获取ip
adb shell "ip addr show wlan0 | grep -e wlan0$ | cut -d\" \" -f 6 | cut -d/ -f 1"
结果:
5、连接手机
adb connect 192.168.10.188
结果:
6、手机断开USB连接,即可进行WiFi调试
赞
踩
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。