首先启动模拟器,通过adb连接上安卓系统
链接adb需要在CMD运行框中将路径切换到~:\Program Files\MuMu\emulator\nemu\vmonitor\bin
注:~代表模拟器所在安装路径的文件夹
具体参考如下:
路径切换到adb_server.exe目录方便运行adb_server.exe命令
D:\Program Files\MuMu\emulator\nemu\vmonitor\bin>cd D:\Program Files\MuMu\emulator\nemu\vmonitor\bin
D:\Program Files\MuMu\emulator\nemu\vmonitor\bin>adb_server.exe connect 127.0.0.1:7555
already connected to 127.0.0.1:7555
进入shell窗口
D:\Program Files\MuMu\emulator\nemu\vmonitor\bin>adb_server.exe shell
进入data/system
root@x86_64:/ # cd data/system
列出目录内容
root@x86_64:/data/system # ll
appops.xml
apps-gson-info
batterystats-daily.xml
batterystats.bin
called_pre_boots.dat
cpuinfoarm
cpuinfoarm64
device_policies.xml
dropbox
entropy.dat
etc
framework_atlas.config
gatekeeper.password.key
gatekeeper.pattern.key
heapdump
ifw
inputmethod
install_sessions
job
last-fstrim
locksettings.db
locksettings.db-shm
locksettings.db-wal
ndebugsocket
netstats
notification_log.db
notification_log.db-journal
package-usage.list
packages.list
packages.xml
procstats
recent_images
recent_tasks
seapp_hash
sync
touch_sound_has_been_set
uiderrors.txt
usagestats
users
发现最有可能的是gatekeeper.password.key文件删除试试
1|root@x86_64:/data/system # rm gatekeeper.password.key
root@x86_64:/data/system #
重启MuMu模拟器后发现登录成功
相关文章