无法在macOS 10.13上启动AVD [英] Can't launch AVD on macOS 10.13
问题描述
我在Android Studio 3.0中创建了一些AVD,但无法启动它们.我使用以下命令启动它们:
I created some AVDs in Android studio 3.0, but I can't launch them. I used the following command to launch them:
./emulator @Nexus_5X_API_17
日志:
emulator: WARNING: encryption is off
Hax is enabled
Hax ram_size 0x60000000
Failed to open vm 3
Failed to create HAX VM
No accelerator found.
failed to initialize HAX: Invalid argument
当我重新安装"Intel x86 Emulator Accelerator(HAXM installer)"时,日志:
And when I reinstalled "Intel x86 Emulator Accelerator(HAXM installer)", the logs:
HAXM silent installation only supports macOS from 10.8 to 10.12 !
我不知道这是否与此有关.
I don't know if it is related with this.
此后,我尝试安装virtualBox来安装genymotion,但是当我单击virturalBox.dmg时发现安装程序崩溃了.
After that, I tried to install virtualBox to install genymotion, but I found when I clicks the virturalBox.dmg, the installer crashed.
你能帮我吗?谢谢.
推荐答案
使用新的Hypervisor.Framework支持而不是macOS上的HAXM,如
Use the new Hypervisor.Framework support instead of HAXM on macOS, as described in the comments of the issue filed for this:
尝试在Canary频道26.1.x(API 25/26 推荐)与Hypervisor.Framework一起使用;将文本"HVF = on"放入 〜/.android/advancedFeatures.ini(如果此文件不存在,请创建该文件 已经).
Try running the emulator on Canary channel 26.1.x (API 25/26 recommended) with Hypervisor.Framework; put the text "HVF = on" in ~/.android/advancedFeatures.ini (create this file if it doesn't exist already).
这篇关于无法在macOS 10.13上启动AVD的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!