Android模拟器启动使Mac无响应 [英] Android emulator start makes Mac unresponsive

查看:730
本文介绍了Android模拟器启动使Mac无响应的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在全新的MacBook Pro(2019年末配置的i7 6核(Intel®Core™i7-9750H CPU @ 2.60GHz),Radeon 555x)上建立一个android仿真器.

I'm trying to set up an android emulator on a brand new MacBook Pro (2019 late i7 6-core (Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz), Radeon 555x).

当我设置模拟器时,总是发生相同的情况:模拟器开始启动,并且Mac变得无响应(触控板变成砖块.然后Mac系统重新启动,并且没有错误报告,仅带有"BAD MAGIC!(在iBoot紧急标题中设置的标志) ),没有可用的macOS紧急日志"消息.

When I set up an emulator always happens the same: Emulator starts to boot and mac become unresponsive (trackpad becomes a brick. Then the Mac system restarts with no error report just with "BAD MAGIC! (flag set in iBoot panic header), no macOS panic log available" message.

我尝试了什么:重新安装HAXM,不同版本的HAXM,不同版本的android studio(包括4.0.1 canary),不同版本的AVD,以上全部使用自制程序,使用软件图形,更多RAM和干净的iOS重新安装(完全清除). Genymotion也失败了. 在Windows上,全新安装(新手训练营)后,同样的情况发生.基于ARM的仿真器可以启动,但是速度非常慢.

What I tried: Reinstall HAXM, different versions of HAXM, different versions of the android studio (inc. 4.0.1 canary), different versions of AVD, all above using homebrew, using software graphic, more RAM, and clean iOS reinstall too (with full clear). Genymotion also failed. On Windows, after a clean install (boot camp) the same happens. ARM-based emulators can start, but they are extremely slow.

我已经重置了SMC,NVRAM,并且诊断说一切都很好...

I've reset SMC, NVRAM and diagnostics say everything is fine...

所有建议都值得赞赏.

更新: 当前的MacOS版本:10.15.3(19D76)

Updates: Current MacOS version: 10.15.3 (19D76)

我还尝试了备份错误 mac并在另一个MBP上还原,在这种情况下,它可以在另一个MBP上运行. 我试图一一删除这些文件夹:

I also tried backing up the wrong mac and restore on another MBP, in this case, it worked on the other MBP. I tried to remove these folders one by one:

• ~/Library/InputMethods
  • ~/Library/InputManagers
  • ~/Library/Caches
  • ~/Library/Containers
  • ~/Library/Application Support
  • ~/Library/Preferences
  • /Library/LaunchAgents
  • /Library/LaunchDaemons
  • /Library/StartupItems
  • /Library/InputMethods
  • /Library/InputManagers

  • 在安全模式下尝试过,
  • 与其他模拟器(genymotion,bluestacks)
  • 在虚拟机(带有ubuntu的VMware和VirtualBox)下 模拟器启动时也会发生同样的情况.
  • 在卡塔琳娜州下疲倦
  • 与英特尔联系时,他们说:苹果明确要求所有支持咨询或问题直接解决."
  • 与苹果公司联系(数百万次,共6个月),他们说:由于问题是由第三方应用程序引起的,因此提供的保护或支持有限."使用捕获数据后,他们的工程师发现该问题可能是由"com.intel.haxm"引起的(就像我说的那样,很惊讶!)
    • Tried in safe mode,
    • with other emulators (genymotion, bluestacks),
    • under a virtual machine (VMware and VirtualBox with ubuntu) when the emulator starts the same happens.
    • tired under Catalina
    • Contacted intel, they said: "Apple has explicitly requested all support inquiries or issues to be addressed directly to them"
    • Contacted Apple (million times... for 6 months) they said: "Since the problem is caused by a third party application, there is limited protection or support to provide." After using capture data, their engineers have found out that the issue may be caused by "com.intel.haxm" (like I said, surprise!)
    • 推荐答案

      您是否检查了崩溃日志(/Library/Logs/DiagnosticReports/*.panic)?如果问题是由于图形驱动程序引起的,请尝试使用实用程序来强制您的Macbook使用低功耗图形而不是AMD卡.我个人使用 gSwitch .

      Have you checked the crash logs (/Library/Logs/DiagnosticReports/*.panic)? If the problem is due to the graphics driver, try using a utility to force your Macbook to use low-powered graphics instead of the AMD card. I personally use gSwitch.

      这篇关于Android模拟器启动使Mac无响应的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆