I have prior experience (rusty) with Eclipse and I recently downloaded Android Studio for Mac (El Capitan). I'd like to run my "hello world" program on virtual machine. I picked (Nexus 7 2012 API 23) but in Android Virtual Device Manager I'm getting "Failed to Load" message and Details gives:
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 Android SDK, I have the following 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 the 23 packages including Google APIs. Just not the TV stuff.
When I hit the arrow to run my program, it builds fine, but no emulator launches. This is not surprising given the message in the AVD. It would be nice if when you ran it, there was some sort of message saying the image won't work.
Any ideas?
Thanks,
Dave
Wow, what a pain. After all that, it turns out that just closing and reopening Android Studio did the trick. Also, beware that Virtual Device seems to take forever (minutes?) to come up. At least on my MacBook Air Mid 2012. Processor: 1.8 GHz i5 Memory 4 GB 1600 MHz DDR3.
Thanks Morrison Chang for ideas. -Dave
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With