【问题标题】:Android Studio emulator error: detected a hanging thread 'QEMU2 main loop'Android Studio 模拟器错误:检测到挂起的线程“QEMU2 主循环”
【发布时间】:2019-11-04 22:39:59
【问题描述】:

最近几天我遇到了这个错误,有人有什么建议可以尝试吗?

错误:

23.31   Emulator: emulator: ERROR: detected a hanging thread 'QEMU2 main loop'. No response for 15001 ms
23.31   Emulator: emulator: ERROR: detected a hanging thread 'QEMU2 CPU0 thread'. No response for 15001 ms
23.31   Emulator: emulator: ERROR: detected a hanging thread 'QEMU2 CPU1 thread'. No response for 15001 ms
23.31   Emulator: emulator: ERROR: detected a hanging thread 'QEMU2 CPU2 thread'. No response for 15001 ms
23.31   Emulator: emulator: ERROR: detected a hanging thread 'QEMU2 main loop'. No response for 15002 ms
23.31   Emulator: emulator: ERROR: detected a hanging thread 'QEMU2 CPU0 thread'. No response for 15002 ms
23.31   Emulator: emulator: ERROR: detected a hanging thread 'QEMU2 CPU1 thread'. No response for 15002 ms
23.31   Emulator: emulator: ERROR: detected a hanging thread 'QEMU2 CPU2 thread'. No response for 15002 ms
23.32   Emulator: emulator: ERROR: detected a hanging thread 'QEMU2 main loop'. No response for 15001 ms
23.32   Emulator: Process finished with exit code -1073741819 (0xC0000005)

模拟器框架可以工作,但里面只有黑色,在那些挂起的线程之后模拟器将被杀死。

背景:

6 个月前我使用 Android Studio 时一切正常。在那半年的假期之后,我打开了工作室并对其进行了更新。更新后,我测试运行我在旧 Android Studio 版本中创建的旧项目,并出现此挂起线程错误,因此我无法再运行任何东西(包括新项目)。

我试过了:

  • 谷歌
  • 开启/关闭 IPV6(更改后启动)
  • 用于冷启动和快速启动的 ADV 管理器选项
  • 重新安装 Android Studio(清除用户数据)
  • 卸载 Android Studio(清除用户数据并手动删除 C:\Users\User\.android + .androidstudio3.5 + .gradle 和 C:\Users\User\AppData\Local\Android 文件夹,然后重新安装
  • +5 个不同的虚拟设备,手动删除它们再试一次

通过 USB 使用我的真实手机运行,它工作正常。但是为什么没有呢?

电脑规格:

英特尔 i5-8400 2.8GHz、16Gb DDR4、Nvidia GTX 1060 6Gb、Win 10

也许重新安装完全重置的窗口应该可以做到,但如果没有其他方法,那就有点奇怪了.. 非常感谢!

【问题讨论】:

    标签: android android-studio


    【解决方案1】:

    我通过更新 HAXM 修复了它。希望这会有所帮助。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-02-21
      • 1970-01-01
      • 2019-08-27
      • 2017-04-02
      • 2019-01-17
      • 2023-03-06
      • 2021-08-28
      • 2023-03-31
      相关资源
      最近更新 更多