Android Studio模拟器错误:检测到“ QEMU2主循环”挂起线程

最近几天,我在遇到此错误时遇到了麻烦,有人可以尝试吗?

错误:

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版本中创建的,并且出现了挂起线程错误,因此我无法再运行任何程序(包括新项目)。

我已经尝试过:

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

通过USB在我的真实手机上运行,​​效果很好。但是为什么不呢?

计算机规格:

  

Intel i5-8400 2,8GHz,16Gb DDR4,Nvidia GTX 1060 6Gb,Win 10

也许完全重置后重新安装Windows应该可以,但是如果没有其他方法,那有点奇怪。 非常感谢!

limei2009 回答:Android Studio模拟器错误:检测到“ QEMU2主循环”挂起线程

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

本文链接:https://www.f2er.com/3163308.html

大家都在问