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
相关推荐
weixin_4629019717 小时前
安桌系统adb操作
adb
唐古乌梁海17 小时前
【mysql】MySQL 数据库迁移
数据库·mysql·adb
nono牛18 小时前
MTK平台详解`ro.boot.serialno` 的实现流程 adb devices输出序列号
adb·智能手机
Jing_jing_X2 天前
MySQL Server 启动后到底加载了什么,创建表插入数据到底怎么存的存在哪
mysql·adb
LvLuffy2 天前
mac Android Studio配置adb环境(使用adb报错 adb: command not found)
macos·adb·android studio
放大的EZ2 天前
user 版本打开adb
adb
nono牛2 天前
adb devices`ro.boot.serialno` 的实现
adb·智能手机
nono牛2 天前
MTK平台详解`adb devices`输出的序列号组成
android·linux·adb·智能手机
工具人55554 天前
adb disable-verity
数据库·数据仓库·adb
dessler5 天前
MYSQL-多种方法安装部署
android·mysql·adb