1. adb devices:查看连接的设备列表
  2. adb shell:进入设备的shell终端
  3. adb pull:从设备中复制文件到本地
  4. adb push:将本地文件推送到设备中
  5. adb install:安装应用到设备中
  6. adb uninstall:卸载应用
  7. adb logcat:查看设备日志
  8. adb reboot:重启设备
  9. adb backup:备份设备数据
  10. adb restore:恢复设备数据
  11. adb forward:端口转发
  12. adb tcpip:启用TCP/IP连接模式
  13. adb sideload:通过ADB sideload方式安装应用
  14. adb shell screencap:截取设备屏幕
  15. adb shell input:模拟输入命令
  16. adb shell ps:查看设备上的进程信息
  17. adb shell am:启动Activity或Service
  18. adb shell monkey:模拟随机用户事件
  19. adb shell dumpsys:查看系统状态信息
  20. adb shell wm:控制窗口管理器的行为。
常用的adb命令有哪些

原文地址: https://www.cveoy.top/t/topic/Z7l 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录