1.手机和电脑先用数据线连接上
adb tcpip 端口号
2.查看手机IP地址
adb shell ifconfg wlan0
3.这个时候可以把数据线拔了,连接手机
adb connect 手机Ip
4.断开连接
adb disconnect 手机ip
如果想切回usb模式
adb usb
1.手机和电脑先用数据线连接上
adb tcpip 端口号
2.查看手机IP地址
adb shell ifconfg wlan0
3.这个时候可以把数据线拔了,连接手机
adb connect 手机Ip
4.断开连接
adb disconnect 手机ip
如果想切回usb模式
adb usb
本文标题:Wifi下连接手机调试Android程序
本文链接:https://www.haomeiwen.com/subject/tikfdftx.html
网友评论