简体   繁体   English

Android Studio安装向导 - 创建Android虚拟设备

[英]Android Studio Setup Wizard - Create Android virtual device

I'm using Apple Mac OS X El Capitan and while trying to install Android Studio 2.0 , I encounter following error: 我正在使用Apple Mac OS X El Capitan,在尝试安装Android Studio 2.0时遇到以下错误:

Unable to create a virtual device: Missing system image required for an AVD setup 无法创建虚拟设备:缺少AVD设置所需的系统映像

Unfortunately while Android Studio Setup tried to Creating Android virtual device , it failed and without ability to retry ( 不幸的是,当Android Studio Setup尝试Creating Android virtual device ,它失败了并且无法重试

How do I complete failed step outside of that Android Studio Setup Wizard? 如何在Android Studio安装向导之外完成失败的步骤?

安装android-studio完成后,通过选择android sdk tools和check lisk中的Extras ,将sdk通过sdk manager更新到最新版本。

Make sure VT-x is enabled in your UEFI/BIOS. 确保在UEFI / BIOS中启用了VT-x。

On Linux, you can check if it's enabled by: 在Linux上,您可以通过以下方式检查它是否已启用

sudo modprobe msr
sudo rdmsr 0x3a

If it doesn't print 3 or 5 , VT-x is disabled, and emulation won't work. 如果它不打印35 ,则禁用VT-x,并且仿真将不起作用。 You will need to reboot and change the BIOS setting. 您需要重新启动并更改BIOS设置。 The exact procedure depends on your hardware. 确切的过程取决于您的硬件。

On OS X, you can check if the CPU supports VT-x using the following command: 在OS X上,您可以使用以下命令检查CPU是否支持VT-x

sysctl -a | grep machdep.cpu.features

If the output contains VMX the CPU supports VT-x, but it could still be disabled. 如果输出包含VMX则CPU支持VT-x,但仍可以禁用它。 You might need an EFI firmware update . 您可能需要EFI固件更新 Disclaimer: I don't actually have a Mac to test. 免责声明:我实际上没有Mac测试。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM