Skip to content

Commit 54fc0a1

Browse files
authored
Update
1 parent 09018ce commit 54fc0a1

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

‎ChaosCrystal/ADB常用命令.md‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# ADB常用命令
2+
3+
命令 | 说明
4+
--- | ---
5+
adb start-server | 启动服务
6+
adb kill-server | 关闭服务
7+
adb devices | 显示当前连接的所有设备(如果服务没有开启会自动开启)
8+
adb install xxx.apk | 将应用安装进设备中
9+
adb uninstall <包名> | 卸载应用
10+
adb -s <设备名> <命令> | 如果有多个设备,指定某一个设备进行操作
11+
adb pull <手机文件> <电脑文件> | 将手机内文件导入到电脑上(文件名均为全称)
12+
adb push <电脑文件> <手机文件> | 将电脑中文件推送到手机上(文件名均为全称)
13+
adb shell | 进入手机命令行终端
14+
┗ ls | 查看目录列表
15+
┗ ls -l | 显示详细信息(权限 用户名 组名 时间 包名)
16+
┗ ps | 当前正在运行的进程
17+
┗ ping | 手机的网络连通性
18+

0 commit comments

Comments
 (0)