简体   繁体   中英

Unable to create AVD with android sdk on Mac OS

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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