版本
mac 系统版本: 12.6
网易MUMU版本:1.9.58(20220727)
操作信息
需要把debug.mmm.local给反向代理到xxx.xxx.xxx.xxx本地服务器地址。
xxx.xxx.xxx.xxx 电脑ip,
debug.mmm.local服务器域名
1 2 3 4 5 6 7
| ~/Library : /Applications/NemuPlayer.app/Contents/MacOS/adb shell * daemon not running; starting now at tcp:5037 * daemon started successfully root@x86_64:/ # root@x86_64:/ # vi /system/etc/hosts root@x86_64:/ # root@x86_64:/ #
|
1 2 3
| 127.0.0.1 localhost ::1 ip6-localhost xxx.xxx.xxx.xxx debug.mmm.local
|
具体调查流程
打开访达-> 应用程序->在应用程序找到【网易mumu】程序,右键点击 选择【显示包内容】

进到【网易mumu】应用有【Contents】文件夹,进去文件夹,有个MacOS文件夹,下面有个adb文件。就是下面目录
使用/Applications/NemuPlayer.app/Contents/MacOS/adb shell
命令进入内部,使用vim命令更改/system/etc/hosts
配置信息。
adb执行抛 no devices/emulators found异常
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
| /Applications/NemuPlayer.app/Contents/MacOS /Applications/NemuPlayer.app/Contents/MacOS/adb shell error: no devices/emulators found
# kill 一下 把adb服务杀死 liuguodong@localhost /Applications/NemuPlayer.app/Contents/MacOS adb kill-server # 重启adb服务 liuguodong@localhost /Applications/NemuPlayer.app/Contents/MacOS adb reconnect * daemon not running; starting now at tcp:5037 * daemon started successfully reconnecting emulator-5554 [device] # 链接成功 liuguodong@localhost /Applications/NemuPlayer.app/Contents/MacOS adb shell root@x86_64:/ # root@x86_64:/ # root@x86_64:/ #
|
window 版本
1 2 3 4 5 6
| 1. cmd进入adb所在目录 《安装目录\vmonito\bin》 2. .\adb_server.exe connect 127.0.0.1:7555 3. .\adb_server.exe shell 4. echo -e \\n >> /system/etc/hosts echo IP 域名>>/system/etc/hosts 5. cat /system/etc/hosts //检查是否修改成功
|