1

I am new to android development, and I am trying to create an AVD for testing an app before pushing it to my phone (htc desire running android 2.3.5).

I am using the ADT bundle, and with SDK manager I have downloaded these:

  1. 4.2.2 (API 17)
  2. 4.1.2 (API 16)
  3. 2.3.3 (API 10)
  4. 2.2 (API 8)

But when trying to select target of the AVD, the only available options are API 17,16 and 8.

What is wrong?

Update: I've already tried deleting and redownloading the API and it shows up in the android-sdk/platforms dir.

Chris
  • 3,619
  • 8
  • 44
  • 64

5 Answers5

9

Restart eclipse after install packages i also have same problem and after restart eclipse i got all api levels in drop down list

user2691782
  • 145
  • 2
  • 9
3

I had the same problem because I had downloaded the sdk twice and my SDK manager kept updating first SDK while my IDE was working with the other one. SO check the preferences of your IDE and see if it points to the correct one. (in Eclipse go to windows> preferences> SDK location)

Mina
  • 738
  • 1
  • 6
  • 26
2

For Android 2.3.3, there will be three entries of relevance in the SDK Manager:

  • "SDK Platform", which for older API levels like 10 will contain the ARM emulator image

  • "Google APIs", which will contain an emulator image that has Google Maps in it

  • "Intel Atom x86 System Image", which will contain an emulator image that runs x86 opcodes instead of ARM opcodes (and, with the proper setup of your development machine, can run the emulator much faster)

If you install one or more of these, you should get API Level 10 appearing an an option for setting up an AVD.

If that does not work, you might consider editing your question and posting screenshots of your SDK Manager (specifically the 2.3.3 portion) and the AVD Manager (specifically your drop-down of available API levels).

CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491
1

Try updating the 2.3.3 API. And you can also try to use BlueStacks if you wish to first test your app before trying it on your device.

0

Delete that api from SDK Manager and download it again.

Shubham Arora
  • 167
  • 13