adb shell 指令集

1.connect device连接设备:

bash 复制代码
adb devices
#return:
List of devices attached
0123456789ABCDEF        device

2.连接终端

bash 复制代码
adb shell
  1. 从设备拷贝文件到本地
bash 复制代码
adb pull <remote> [local]
如: adb pull /sdcard/demo.txt e:\
  1. 从到本地拷贝文件到设备
bash 复制代码
adb push <local> <remote>
如:adb push d:\test.txt /sdcard
  1. 打印日志
bash 复制代码
adb logcat [option] [filter-specs]
  1. 打印系统信息,如 adb shell dumpsys
bash 复制代码
adb shell dumpsys [options]
  1. 以root身份重新进入adb
bash 复制代码
adb root
相关推荐
往事如烟隔多年15 小时前
一加Ace5无法连接ColorOS助手解决(安卓设备ADB模式无法连接)
android·adb·手机·coloros
杨航 AI16 小时前
adb 与pad 交互方法
adb
哆啦A梦的口袋呀1 天前
ADB 底层原理
adb
啊森要自信2 天前
【MySQL 数据库】MySQL索引特性(二)页目录&&(B和B+树)&&(非)聚簇索引 && 索引操作
android·数据库·sql·mysql·adb·数据库架构
t198751283 天前
解决MySQL删除/var/lib/mysql下的所有文件后无法启动的问题
数据库·mysql·adb
yinhunzw3 天前
adb reboot 与 adb shell svc power reboot 的区别
adb
thginWalker5 天前
MySQL图解索引篇
android·mysql·adb
qq_312920116 天前
MySQL在Linux环境下的性能调优
linux·mysql·adb
猿小蔡-Cool6 天前
Android ADB命令之内存统计与分析
android·adb
杨航 AI6 天前
ADB+Python控制(有线/无线) Scrcpy+按键映射(推荐)
开发语言·python·adb