如何使用 ADB 连接调试

  1. adb 连接指令:

     adb connect 172.16.101.75:6888
  2. adb 重新加载

     adb remount rw
  3. adb 进入shell

     adb shell
  4. adb 退出

     exit
  5. adb 从远端拉取文件/storage/emulated/pull.txt到本地 Ubuntu 当前文件夹

     adb pull /storage/emulated/pull.txt ./
  6. adb 从本地 Ubuntu 上传文件push.txt到远端目录/storage/emulated/

     adb push ./push.txt /storage/emulated/

     

posted @ 2023-02-27 17:57  iolh  阅读(132)  评论(0)    收藏  举报