Recently I downloaded the Android SDK, but I ended up installing SDK-Platform for API-version 10 (Android 2.3.3), since that is the version I wanted to work with initially. However now I also need to work with Android 4.0.3, but SDK Manager continually fails to install the SDK-Platform for API-version 15, and thus doesn't install the corresponding system images either.
So I'm wondering, as to what is the right way to work with Android ICE, Jellybean (in future) and Gingerbread, on the emulators?
preguntado el 31 de julio de 12 a las 15:07
You should start Android SDK Manager and you should see new OS Platform. You can download the OS image (es Gingerbread, ICS and so on).
Otherwise you can download the new version from www.android.com and re-install everything.
Once you have the OS image downloaded in your pc you can create different emulator using these images. Hope this hep.
Your build target should alway be latest platform (i.e. Jelly Bean API 16). Properties->Android->Build target
In your manifest you should define something like:
<uses-sdk android:minSdkVersion="10" android:targetSdkVersion="16" />
Lint will tell you if your code uses something not available in previous versions. You can test you code on any emulator to ensure correct functionality.