Unable to create AVD with android sdk on Mac OS

人走茶凉 提交于 2019-12-04 04:53:54

问题


I have installed Android Studio and JDK1.8 on Mac OS. I followed the instructions and created a new application with API 15 as minimum 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. When I click finish, it takes me back to the first AVD manager screen without giving any errors and AVD is not created.

Where could be the problem?


回答1:


First you need to download the SDKs you are interested in from Android Studio Tools menu -> Tools -> Android -> SDK Manager or 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.

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 :

  1. Update your OS X installation
  2. Install Eclipse and use the ADT plugin from google on your current configuration.


来源:https://stackoverflow.com/questions/31747416/unable-to-create-avd-with-android-sdk-on-mac-os

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!