Android Studio: Ice Cream Sandwich (API Level 15) Device Configuration not showing up even though system image is installed

RodCardenas picture RodCardenas · Jun 9, 2016 · Viewed 7.4k times · Source

I am attempting to test an app on an ice cream sandwich device. To achieve this, I was hoping to run an emulator in android studio running API Level 15.

I have made sure to install the system image through the sdk manager and it correctly displays as installed in the manager as seen below:

Intel x86 Atom System Image Installed

Unfortunately, when I try to select the system image from the list in the Virtual Device Configuration menu, the option is not shown. Virtual Device Configuration

I've tried to look this up online, but the solutions seem rather unorthodox. Has anyone had this issue and found a solution for it?

Answer

Libelle picture Libelle · Jun 16, 2016

I think this is a bug. Here is a workaround. After downloading API Level 15 Intel x86 Atom System Image, do the following.

  1. Go to Standalone SDK Manager.
  2. Select menu item Tools-> Manage AVDs...
  3. Click "Create..." button.
  4. Select "Android 4.0.3 - API Level 15" as Target.
  5. Fill in other fields as appropriate, and click OK.
  6. Now, you can go back to regular AVD Manager and start the AVD with API Level 15 image you just created. When you try to edit configuration, you may see error message "The specified SD image file must be a valid image file". If you do, just click Show Advanced Settings and go to "Memory and Storage section", find "SD card", and select "Studio-managed". Somehow, this selection won't stay, and you have to do this every time you modify configuration.