adb必会

查看设备

adb    devices

进入设备

adb    shell

退出设备的shell界面

exit

重启设备

adb     reboot

终止adb服务进程

adb    kill-server

重启adb服务进程

adb    start-server

连接到指定的ip

adb    connect  

安装APK

adb    install  

查看设备cpu和内存占用情况

adb    shell     top

查看后台services信息

adb    shell     service    list

进入某个目录

adb    shell   cd

把电脑中的文件考贝到手机

adb    pull        

把手机中的文件考贝到电脑

adb    push:

重命名文件

adb    shell   rename

移动文件

mv    path/file    newpath/file

创建一个文件夹

touch  

查看文件内容

cat  

清除log缓存

adb    logcat    -c

查看bug报告

adb    bugreport

你可能感兴趣的:(adb必会)