【问题标题】:Android emulator stuck on reboot after `adb disable-verity` or `adb remount`Android 模拟器在“adb disable-verity”或“adb remount”后卡在重启
【发布时间】:2020-09-13 21:49:36
【问题描述】:

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

【问题讨论】:

    标签: android adb


    【解决方案1】:

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

    adb root
    adb shell avbctl disable-verification
    adb reboot
    adb root
    adb remount 
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-04-14
      • 1970-01-01
      • 2016-04-07
      • 2019-07-28
      • 2020-01-20
      相关资源
      最近更新 更多