Android 模拟器在“adb disable-verity”或“adb remount”后重启时卡住

rap*_*alg 6 android adb

我正在尝试启用对 Android 模拟器的写访问权限以修改其hosts文件,但我无法让它工作。每当 adb 命令(remountdisable-verity)成功运行时,该reboot命令都会使模拟器挂起。如果不执行这些命令,该reboot命令将按预期工作。有人可以帮我解决这个问题吗?谢谢。

LLL*_*LLL 6

我遇到了完全相同的问题,这里提供的解决方案解决了它:

adb root
adb shell avbctl disable-verification
adb reboot
adb root
adb remount 
Run Code Online (Sandbox Code Playgroud)