#上传文件
adb push D:\temp\gdb /tmp/
adb push D:\temp\gdb /tmp/gdb1 #重命名
#下载文件
adb pull /tmp/gdb D:\temp\
adb pull /tmp/gdb D:\temp\gdb1
#显示连接设备
adb devices
#指定使用设备
adb -s ed0f7a19 push D:\temp\gdb /tmp/
#执行单条指令
adb -s ed0f7a19 shell rm -rf /tmp/gdb
#执行多条命令
adb -s ed0f7a19 shell 'sync && reboot'
#直接连接设备
adb shell
#等待设备连接
adb wait-for-any shell
#端口转发
adb forward tcp:6000 tcp:6000
adb常见使用命令
最新推荐文章于 2024-07-25 16:09:50 发布