Failure to launch AVD (Android Virtual Device) in Android Studio (on Mac)

I have previous experience (rusty) with Eclipse and I recently downloaded Android Studio for Mac (El Capitan). I would like to run my hello world program in a virtual machine. I selected (Nexus 7 2012 API API 23), but in Android Virtual Device Manager I get the message โ€œFailed to Loadโ€, and the details give:

Name: Nexus_7_2012_API_23 CPU/ABI: Google APIs ARM (armeabi-v7a) Path: /Users/user/.android/avd/Nexus_7_2012_API_23.avd Error: Unknown target 'Google Inc.:Google APIs:23' in /Users/user/.android/avd/Nexus_7_2012_API_23.ini 

In the Android SDK, I have the following file loaded:

  null null 23 2 Installed null 23 2 Not installed null 23 2 Not installed null 23 1 Not installed null 23 1 Installed null 23 3 Installed null 23 7 Installed null 23 7 Installed null 23 1 Installed null 23 7 Installed null 23 11 Installed null 23 11 Installed null 23 1 Installed 

Basically all 23 packages, including the Google APIs. Just not television.

When I click the arrow to launch my program, it builds fine, but the emulator does not start. This is not surprising given the message in AVD. It would be nice if you ran it, there was some message that the image will not work.

Any ideas?

Thanks,

Dave

+7
android android-studio avd macos virtual-device-manager
source share
2 answers

Wow, what a pain. After all this, it turns out that just closing and reopening Android Studio did the trick. Also, be careful that the Virtual Device seems to be forever (minutes?) Appearing. At least on my MacBook Air Mid 2012. Processor: 1.8 GHz i5 4 GB 1600 MHz DDR3 memory.

Thanks to Morrison Chang for the ideas. -Dave

+23
source share

I had this problem when I had Docker for Mac. I quit Docker for Mac and it works. This seems to be due to a problem with conflicting virtual machines.

+6
source share

All Articles