Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 392
RodCardenas Avatar asked Jun 09 '16 17:06

RodCardenas


People also ask

Is Ice Cream Sandwich an Android operating system?

Android Ice Cream Sandwich (or Android 4.0) is the 9th major version of the Android mobile operating system developed by Google.

Which Android API level should I use?

When you upload an APK, it must meet Google Play's target API level requirements. New apps must target Android 12 (API level 31) or higher; except for Wear OS apps, which must target Android 11 (API level 30) or higher.

What is minimum SDK version Android?

minSdkVersion is the minimum version of the Android operating system required to run your application. The Android app must have a minimum SDK version 19 or higher. If you want to support devices below API level 19, you must override minSDK version.


1 Answers

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.
like image 78
Libelle Avatar answered Sep 29 '22 11:09

Libelle