简体   繁体   English

无法在Mac OS上使用android sdk创建AVD

[英]Unable to create AVD with android sdk on Mac OS

I have installed Android Studio and JDK1.8 on Mac OS. 我已经在Mac OS上安装了Android Studio和JDK1.8。 I followed the instructions and created a new application with API 15 as minimum sdk. 我按照说明进行操作,并创建了一个API 15为最低sdk的新应用程序。

I tried to create an AVD from AVD manager to test my application by selecting create new virtual device->nexus 6->lollipop 22 armeabi_v7a android 5.1.1 as target. 我试图通过选择创建新的虚拟设备-> nexus 6-> lollipop 22 armeabi_v7a android 5.1.1作为目标,从AVD管理器创建一个AVD以测试我的应用程序。 When I click finish, it takes me back to the first AVD manager screen without giving any errors and AVD is not created. 单击完成后,它将带我回到第一个AVD管理器屏幕,而没有出现任何错误,并且未创建AVD。

Where could be the problem? 问题可能出在哪里?

First you need to download the SDKs you are interested in from Android Studio Tools menu -> Tools -> Android -> SDK Manager or 首先,您需要从Android Studio的“工具”菜单->“工具”->“ Android”->“ SDK管理器”中下载感兴趣的SDK。 在此处输入图片说明 from the menu bar. 从菜单栏中。

Don't forget to install the intel x86 emulator accelerator haxm from the SDK Manager - this will speed up significantly your android virtual device. 不要忘了从SDK Manager安装Intel x86仿真器加速器haxm-这将大大加快您的android虚拟设备的速度。

Then proceed as you mentioned in your question. 然后按照您在问题中提到的进行。

You can find more information here . 您可以在此处找到更多信息。

EDIT : From the comments your OS X version is 10.7.5 and Android Studio runs on 10.8.5 so you either : 编辑:从注释中,您的OS X版本是10.7.5,而Android Studio 在10.8.5上运行,因此您可以:

  1. Update your OS X installation 更新您的OS X安装
  2. Install Eclipse and use the ADT plugin from google on your current configuration. 安装Eclipse并在当前配置上使用Google提供的ADT插件

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

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