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
相关推荐
猿月亮3 分钟前
MySQL5.7安装图文详细步骤(保姆级教程)-mysql5.7下载安装
mysql·adb
飞雪金灵14 小时前
adb 相关命令
adb·adb 命令
北极糊的狐16 小时前
MySQL常见报错分析及解决方案总结(41)---ERROR 2002 (HY000): Can‘t connect to MySQL server
adb
Keanu-17 小时前
Mysqlrouter 配置与测试
mysql·adb
技术净胜20 小时前
MySQL 主从复制(日志核心)完整教程
数据库·mysql·adb
泯仲21 小时前
从零起步学习MySQL 第五章:select语句的执行过程是怎么样的?
adb
seabirdssss1 天前
联想拯救者Y7000P上使用ADB无法监听到通过USB连接的安卓设备
android·adb
北极糊的狐1 天前
MySQL常见报错分析及解决方案总结(42)---ERROR 1142 (42000): SELECT command denied
java·mysql·adb·myeclipse
2301_767902641 天前
mysql备份
数据库·mysql·adb
大母猴啃编程1 天前
MySQL内置函数
数据库·sql·mysql·adb