How to Create AVD on version 4.0 APi 14 in Eclipse - android

in Eclipse, I have installed the latest version Android 5.0.1(API 21) and created an AVD. However to test backward compatibility I need to create an AVD for older Android 4.0 (API 14), which is also installed in Eclipse. However, when go open Andriod AVD Manager and say create, in the Target pulldown menu, I do not see Android 4.0 (API 14) and therefore unable to create a AVD to support Android 4.0 (API 14). Can someone tell me how to do this please?

check whether Google API 14 in installed on your device.
Click Android SDK Manager, u can see SDK Manager, u can see Android 4.0(API 14) u can see Google APIs should be installed then only u can install the AVD otherwise u cannot create a AVD
If you want to create an AVD in Eclipse you need to do this:
Go to Window -> Android Virtual Device Manager
Then you need to give a name and select the platform that you want (Target option)
Then the button "Create AVD" activates.
The other options modify if u need

You can do following steps:
1. Open SDK Manager as this screen:
You must install SDK, Arm system image or Intel system image whose version as you need (mine is 21 and you is 14) for run emulator
2. Open AVD Manager and click "Create"
3. enter name, choose target and other properties. Then you have your emulator
Hope this help! And dont foget to mark this is answer if you archived your goal!

Related

Where can I get Android 2.2 (API 8) emulator?

I need to debug an applications I'm writing on Android API 8 but I can't find it on Android SDK manager.
I only have SDK Platform, Samples for SDK and Google APIs.
Where can I get it?
When you load up the SDK manager you will see a list of available android versions.
Tick the one that you want followed by install.
Then go to the AVD manager and create a new emulator and select API Android 2.2 as the OS for the device.
open eclipse >>window >> Android sdk manager >> and check mark api level 8 and download it then create new emulater and select API level 8 .

AVD Manager showing only one target option

I started with android studio and while I try to create a new device the AVD manager showing only one target i,e 4.2.2 as shown in the following figure. But in eclipse it is showing all the options.
. How to create a new emulator the target 2.3.3.
Because both SDK folders are separately located. If you look close you will see that there is an SDK folder inside the Android Studio installation. The target OS directly loaded from this location.
To show additional options in the target dropdown list, e.g. Android 2.2 (API Level 8) and Android 4.0 (API Level 14), you need to download those versions through SDK Manager first.
Only you download those SDK versions like 2.2 and 4.0, then they will show up as options in AVD Manager for you to create new devices of those versions.

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.

Android SDK Missing

Below is my current setup in my PC.
Eclise Indigo
Android SDK Platform - API 15
ADT version 18
I developed a simple android application, and was able to succesffully launch it in emulator and android phone. I need to test with galaxy tablet emulator. I found GALAXY Tab Android API 8 in Android SKD Manager. When I choose to install I'm prompted with a message "Missing SDK Platform Android, API 8". My questions are:
Where can I download Android sdk api 8?
Can api versions 15 and 8 coexist?
Can I get api 8 version etup within eclipse?
How do make this version as one of the target in the AVD Manager?
Please advise.
Open up your "SDK Manager" through your start menu, and once the SDK Manager has loaded select the Package "Android 2.2 (API 8)" and click the button in the lower right "Install Packages."
If you want to access the SDK Manager through Eclipse go to the "Window" tab at the top and then you should see the option "Android SDK Manager," click on that and follow the same steps as outlined above.
As far as your question "Can api versions 15 and 8 coexist," the answer is yes.

Problem with eclipse Android SDK update

I am newbie to android. I working on my HELLO WORLD project. Initially I had AVD which looks like
Then something went wrong so I deleted all Android stuff from Eclipse (except my project) then I added all things again to my Eclipse.
So now I have:
1) Android SDK tools , revison 12
2) Android SDK platform-tools,revision 6
3) SDK platform Android 3.2,API 13,revision 1
Now I got a new emulator which looks like a tablet emulator .
So my questions are
1) How can I get the previous emulator as Image 1 ( which looks like phone not tablet) ?
2) I am also getting error "Unable to resolve target Android-8". Why it is ? and how to get rid of it ?
Answers to your questions:
Ad 1) You need to install SDK platform for Android 1.x/2.x, Android 3.0 is dedicated to tablets so there will be no phone-like emulator,
Ad 2) Android-8 means Android API Level 8, this means Android SDK version 2.2.x. so you will need to install SDK for Android 2.2.x from the Android SDK Manager
More about Android API levels can be found here: http://developer.android.com/guide/appendix/api-levels.html
1.when creating avd you are selecting target.If you select target 2.1,2.2..You will see the first emulator and for the later one your are selecting taget 3.2 . So it looks like this.
2.You are importing/creating project from previous one whose target was api level 8.Now you are trying to run it in avd which is some other.So in manifest file set minSDK as your new avd
With the SDK manager, you have to create a new virtual device. For this virtual device you will set the Android version of your device (must be < 3 to have the "old" look).
It is simple
1) Create AVD
2) While creating if u want to develop for smart phone, select the target version <= 2.3 (Which will get you the keyboard)
3) While creating if u want to develop for tablet, select the target version as >= 3.0, which will get you the big pad emulator with no keypad.
Note: From Icecream sandwidch onwards the version is for both Smart phones and Tablets.
Regards,
SSuman185
You need to create new AVD with the target that you need,or edit the settings of the AVD that you are using now.
In Eclipse go to menu : Window -> Android SDK and AVD Manager and you will see a list of your AVD(if you have more than one).And after that you can select the one that you have,and press edit with changing the target to 1.5 and upper version or create a new one pressing button New.

Categories

Resources