zoukankan      html  css  js  c++  java
  • adb常用命令

    注意:需要先配置adb环境变量

    db devices 列出所有的设备
    adb start-server 开启adb服务
    adb kill-server 关闭adb服务
    adb logcat 查看Log
    adb shell 挂载到Linux的空间
    adb install <应用程序(加扩展名)> 安装应用程序
    adb –s <模拟器名称> install <应用程序(加扩展名)> 安装应用到指定模拟器
    adb uninstall <程序包名> 卸载程序
    adb pull <remote> <local> 上传
    adb push <local> <remote> 下载

    ctrl + F11 横竖屏的切换

    emulator –avd <模拟器名称> AVD存储位置 (了解,需要配置emulator环境)

    adb shell screencap -p /sdcard/screen.png 截屏

    adb shell screenrecord /sdcard/s1.mp4       |     adb shell screenrecord --size 1080x1920 /sdcard/s1.mp4

    录制视频  按ctrl+c结束

  • 相关阅读:
    Java基础 Day02(个人复习整理)
    Java基础 Day01(个人复习整理)
    linux-rpm
    linux常用命令
    rpm构建流程学习总结
    git相关
    sql相关
    ssh打通
    element ui FORM表单
    python threading多线程
  • 原文地址:https://www.cnblogs.com/zzw1994/p/4884580.html
Copyright © 2011-2022 走看看