How to create AVD for lower api in android ADT bundle? - android

I am using ADT bundle to create android apps. I am only able to create AVD with api level 19. I want to create AVD with lower api, say api 10 and test the app. I guess system-images of lower api has to be installed to created AVD with lower api. In SDK manager , however, I cannot find system-images except for api 19. I might have deleted them by mistakes earlier. How to bring them back or is there any way to create AVD with lower api ?

Just install SDK of the corresponding API and restart the eclipse in the ADT bundle. Now, you can see the updated dropdown in the target field.

Related

Target api 21 is not listed in eclipse(While creating new project) even after updating my SDK to Lollipop

I have updated my SDK to Android Lollipop. I am able to See Target API 21 in Android SDK Manager when I access it from the directory where it is saved however when I create a new project in Eclipse it does not show Target API 21. Neither it Runs Emulator Created for API 21. I am done with restating my eclipse many times. Any one having any idea what could be wrong??
Thanks
I was facing the same problem, my android sdk manager is not showing new API,
1. Solution Just click on the following icon Android SDK Manager. It will show all the packages.
2. Open SDK Manager click tools in the top menu -> options and turn on "forse h ttps://...sources"

How to get more target platform options for Eclipse AVD?

Using Eclipse, trying to create a new virtual device to test app on older Android versions, but when I go to create a new Android Virtual Device I only get one option - 4.4.2 API Level 19. How do I get other versions to show here? Last night I was a bit tired and tried to if using the SDK Manager to grab 4.0.3 SDK and Google API would work to test on older version, but it seemed to mess up Eclipse as I got an ADT needs update error (which would find no updates). So starting back from scratch and figured I'd ask instead of trial and error. Thanks!
Open the Android SD Manager, check Show: Updates/New
Select SDK Platform and ARM EABI v7a System Image (also Google APIs if you are unsing them) for all Versions you want to test and download them. You need the source of the Android-Version to create an AVD for it.
Updating your Android SDK build-tools and Android SDK Platform-tools is always recommanded because newer Android versions need a newer build tool setup.

Can't see/select API 19 in Eclipse Indigo in project properties

Trying to update an app to newer version of android. Downloaded/installed API 19 and supporting files via SDK manager (as administrator), SDK manager shows that all files are installed - but when selecting [project properties - android]... api 19 is not listed. Can't include screenshots since i don't have enough reputation points - but screenshot would show SDK manager with installed android 4.4.2 (api 19), and a second screenshot showing android properties only listing up to api 18.
Closest post/solution found was how to access api 19 for android in eclipse?
but didn't help...
using Eclipse indigo
Many thanks for your help!!
You will need to update eclipse too after updating the SDK. Go to Help -> Check for updates and see if some component needs update.

how to access api 19 for android in eclipse?

I am currently using Eclipse SDK for Android development and I am targeting API 19 but I'm not able to update as I'm not getting anything with description uninstalled in my SDK manager.
Can someone please help? I need to know how I can update the SDK and access API 19 in my Eclipse ADT?
You need to access the SDK Manager, which can be found at the 5th button from the left of your toolbar (assuming default eclipse view)
Alternatively you can click on 'window' and then 'SDK Manager'. This should then load the SDK manager up and allow you to download API 19.
I don't know what you mean by "description uninstalled", open window > android SDK manager and download everything under Android 4.4 - API 19 and update everything that wants to be updated
first of all go to SDK Manager ,and update what ever that are not installed ,press on the button and install.After that go to Eclipse ,Help-->check for updates.....
First you have to go adt bundle folder and then open sdk.exe in administration mode and then install the api .

Android 2.3 API is not available as a target option for AVD

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:
4.2.2 (API 17)
4.1.2 (API 16)
2.3.3 (API 10)
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.
Restart eclipse after install packages i also have same problem and after restart eclipse i got all api levels in drop down list
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)
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).
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.
Delete that api from SDK Manager and download it again.

Categories

Resources