adb 实用命令

通过WIFI进行真机调试

adb tcpip 5555   //指定手机端口,此时数据线需要连接到电脑
adb connect 10.1.5.150 //通过wifi连接手机,成功后会打印日志connected to 10.1.5.150:5555 
adb usb //切换回usb模式

编程技巧