uiautomator如何實現脫機/脫離USB數據線運行腳本

咱們都知道運行uiautomator的命令以下:shell adb shell uiautomator runtest 名稱.jar -c 包名.類名 ui 怎麼實現脫機/脫離數據線運行腳本呢?其實,很簡單,在運行腳本中在-C前加上一句「--nohup」:spa adb shell uiautomator runtest 名稱.jar --nohup -c 包名.類名 test ---------
相關文章
相關標籤/搜索