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
相关推荐
姚永强10 小时前
dns实验
adb
RInk7oBjo14 小时前
MySQL的编译安装
数据库·mysql·adb
W-琑16 小时前
adb的基本操作及原理
adb
bearpping1 天前
MySQL压缩版安装详细图解
android·mysql·adb
2601_949815332 天前
MySQL输入密码后闪退?
数据库·mysql·adb
.柒宇.2 天前
MySQL高级之备份与还原
数据库·mysql·adb
yitian_hm2 天前
MySQL主从复制与读写分离实战指南
android·mysql·adb
givemeacar3 天前
MySQL数据库误删恢复_mysql 数据 误删
数据库·mysql·adb
Darkdreams3 天前
MySQL四种备份表的方式
mysql·adb·oracle
渡我白衣3 天前
【MySQL基础】(3):MySQL库与表的操作
android·数据库·人工智能·深度学习·神经网络·mysql·adb