无法在 macOS 10.13 上启动 AVD [英] Can't launch AVD on macOS 10.13

查看:35
本文介绍了无法在 macOS 10.13 上启动 AVD的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 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.

你能帮我吗?谢谢.

推荐答案

在 macOS 上使用新的 Hypervisor.Framework 支持而不是 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屋!

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