adb相关操作命令

adb devices  查找连接设备

adb tcpip 5555 建立连接

adb kill-server 杀死服务

adb disconnect ip:5555 断开连接

 

 

allure报告可能会用到以下adb命令

    cmd2 = "adb -s " + device + " shell wm size "
    cmd4 = "adb -s "+device + ' shell getprop ro.product.brand '
    cmd5 = "adb -s "+device + ' shell getprop ro.product.name '
    cmd7 = "adb -s "+device + ' shell getprop ro.build.version.release '

  

posted @ 2023-02-10 10:35  CWZzzzz  阅读(20)  评论(0编辑  收藏  举报