ADB常用命令(二)

参考  http://adbshell.com/commands

常用命令

查看adb 版本

adb version

打印所有附加模拟器/设备的列表

adb devices

设备序列号

adb get-serialno

连接设备shell

adb shell

如果多个设备设置,选择操作对象

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

猜你喜欢

转载自www.cnblogs.com/hanyu258/p/9573025.html
今日推荐