mumu模擬器 MuMuManager.exe是MuMu模擬器12新加入的工具

悟透發表於2024-05-03

前言全域性說明

MuMuManager.exe是MuMu模擬器12新加入的工具


官方說明:https://mumu.163.com/help/20230504/35047_1086360.html


一、說明

MuMu模擬器12的呼叫程式MuMuManager.exe在模擬器的安裝目錄下可以找到,
如“X:\Program Files\Netease\MuMuPlayer-12.0\shell>MuMuManager.exe”


二、檢視/連線模擬器adb埠:

  MuMuManager.exe adb -v [模擬器序號] //查詢指定模擬器adb埠
  MuMuManager.exe adb -v [模擬器序號] connect //連線指定模擬器adb埠
  MuMuManager.exe adb -v [模擬器序號] shell //進入指定模擬器adb shell

三、啟動/關閉模擬器:

  MuMuManager.exe api -v [模擬器序號] launch_player //啟動模擬器
  MuMuManager.exe api -v [模擬器序號] shutdown_player //關閉模擬器
  MuMuManager.exe api -v [模擬器序號] player_state //獲取模擬器狀態

四、app安裝/解除安裝/啟動/關閉:

  MuMuManager.exe api -v [模擬器序號] install_apk [path] //安裝本地apk,帶檔案路徑引數
  MuMuManager.exe api -v [模擬器序號] uninstall_app [package] //解除安裝app,帶包名
  MuMuManager.exe api -v [模擬器序號] launch_app [package] //啟動app,帶包名
  MuMuManager.exe api -v [模擬器序號] close_app [package] //關閉app,帶包名
  MuMuManager.exe api -v [模擬器序號] app_state [package] //獲取app執行狀態,帶包名

五、模擬器顯示:

  MuMuManager.exe api -v [模擬器序號] show_player_window //顯示指定模擬器視窗(頂部)
  MuMuManager.exe api -v [模擬器序號] hide_player_window //隱藏指定模擬器視窗(無工作列)

六、可以直接呼叫檢視支援的命令:

  X:\Program Files\Netease\MuMuPlayer-12.0\shell>MuMuManager.exe

  =================== adb =============================
  get adb port: adb -v [0|1|2|3|...]
  adb connect: adb -v [0|1|2|3|...] connect
  adb shell: adb -v [0|1|2|3|...] shell
  adb [options]: adb -v [0|1|2|3|...] [options]
  =================== adb =============================

  =================== api =============================
  start shell for api: api -v [0|1|2|3|...] shell
  launch player: api -v [0|1|2|3|...] launch_player [params]
  shutdown player: api -v [0|1|2|3|...] shutdown_player
  get player state: api -v [0|1|2|3|...] player_state
  show player window: api -v [0|1|2|3|...] show_player_window
  hide player window: api -v [0|1|2|3|...] hide_player_window
  install apk: api -v [0|1|2|3|...] install_apk [path]
  uninstall app: api -v [0|1|2|3|...] uninstall_app [package]
  launch app: api -v [0|1|2|3|...] launch_app [package]
  close app: api -v [0|1|2|3|...] close_app [package]
  get app state: api -v [0|1|2|3|...] app_state [package]
  get vt state: api -v [0|1|2|3|...] vt_enabled
  get hyperv state: api -v [0|1|2|3|...] hyperv_enabled
  =================== api =============================


免責宣告:本號所涉及內容僅供安全研究與教學使用,如出現其他風險,後果自負。




參考、來源:
https://mumu.163.com/help/20230504/35047_1086360.html



相關文章