参考 http://adbshell.com/commandsshell
经常使用命令tcp
查看adb 版本spa
adb version对象
打印全部附加模拟器/设备的列表ip
adb devicesget
设备序列号pip
adb get-serialnoio
链接设备shell下载
adb shellcommand
若是多个设备设置,选择操做对象
adb -s 序列号 shell
好比 adb -s e0d168f87d93 shell
在TCP模式端口从新启动:5555 adb tcpip 5555
adb connect 192.168.0.101
下载到电脑
adb pull /sdcard/DCIM/camera/IMG_20180902_095735.jpg
adb pull /sdcard/DCIM/camera/IMG_20180902_095735.jpg D:\adb_down
上传到手机
adb push C:\Users\hanyuxin\Desktop\adb.docx /sdcard/download