adb连接真机

step1:手机打开USB调试模式

step2:电脑上adb devices

step3:设置调试端口adb tcpip 5555

step4:连接手机adb connect 192.168.48.14:5555/adb connect 192.168.48.14(IP为手机端IP),断开连接:adb disconnect 192.168.48.14:5555

step5:进入手机终端shell:adb shell(如果有多个设备,可用adb -s 192.168.48.14 shell)

你可能感兴趣的:(APP前端自动化环境搭建,adb)