bdutta74
bdutta74

Reputation: 2860

What is the right way to work with multiple AVD images for multiple API versions?

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?

Upvotes: 0

Views: 189

Answers (3)

Frohnzie
Frohnzie

Reputation: 3569

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.

Upvotes: 1

sataniccrow
sataniccrow

Reputation: 372

Like nkr said, you should try to run the sdk manager with full permession (UAC works better on windwos7 than on windows vista, but sometimes it needs a hand ;) ).

FYI: previous question probably about the same issue

Upvotes: 1

FrancescoAzzola
FrancescoAzzola

Reputation: 2654

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.

Upvotes: 2

Related Questions