一、前提条件###
①两台设备需连接同一wifi
②设备需要有root权限
二、连接步骤###
①开启wifi adb连接(需要usb数据线连接,找到adb devices)
wucaiyundeMacBook-Pro:~ wucaiyun$ adb tcpip 5555
restarting in TCP mode port: 5555
②查看连接设备IP
adb shell
ifconfig
③通过IP连接adb(不需要usb数据线连接)
adb connect ip
①两台设备需连接同一wifi
②设备需要有root权限
①开启wifi adb连接(需要usb数据线连接,找到adb devices)
wucaiyundeMacBook-Pro:~ wucaiyun$ adb tcpip 5555
restarting in TCP mode port: 5555
②查看连接设备IP
adb shell
ifconfig
③通过IP连接adb(不需要usb数据线连接)
adb connect ip
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。