I need to run the Android simulator with the 2.3 version (API 9) but I don't have this version available in the Android SDK Manager.
Currently I can install API 7, 8 and 10 up to the 19, but not 9.
Is there any way to run a simulator with this version?
Android API 9 is obsolete, and is not selected for downloading by default. You can access/select it by checking the "Obsolete" checkbox near the bottom of the SDK Manager.
Meanwhile a friend told me that there is a checkbox in the android sdk manager, named obsolete, that enables the installation of these old versions.
Related
I did many searches on the web, and only partially I understood what I have to do.
When my IDE (Android Studio) reminded me that are available recent update for android SDK, I provided to install them. Now I notice that the Android-SDK directory occupies 87Gb of HDD memory.
This because are installed all the Android API from older version to the latest new.
Today I decided to delete all the SDK directory and perform a clean installaton of the SDK tool.
What I ask is which are the minimum things that I've to install from the SDK manager to be up and running for Android Development.
Consider that my apps must run from Android API 14 (4.0 IceCream) to the least available API version (currently on October 2017 is API 25).
In addiction I use an Android Emulator with Lollipop 5.1 (API 22).
The last thing I ask is when there is a new available and I would to install it, should I unistall all the older API version to prevent SDK grow up?
This is the screenshot of my Android Studio SKD manager.
As you can see the only checked API is 7.1.1 Nougat API 25.
This is a series of screenshot of package details of SDK Manager
The others are all unchecked.
I have to say that for Android 5.1 Lollipop API 22, check marks appear after I create the Android Emulator with Lollipop Installed.
NB: I need only things for mobile programming, not TV or Wearable.
should I unistall all the older API version to prevent SDK grow up?
Yes you can do this to reduce the space size taken by the SDK
Cons : you will not be able to use instant run if you are running your app on particular device on lollipop and above.
Note : you can drop old version under API 14 as support library has also dropped the support for older version
From docs, Revision 26.0.0 Release (July 2017)
The minimum SDK version has been increased to 14. As a result, many
APIs that existed only for compatibility with pre-14 API levels have
been deprecated. Clients of these APIs should migrate to their
framework equivalents as noted in the reference page for each
deprecated API.
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 .
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.
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.
I'm using WROX Android Application Development which recommends using platform android 2.3 api 9 revision 1?
I noticed that it's not showing in the Android SDK Manager. My smartphone uses Gingerbread and what to dev for it.
What are my options?
API level 9 is obsolete and replaced by API level 10 (which is still 2.3. aka gingerbread).
You can show it in the SDK manager by clicking the "obsolete" checkbox at the bottom, but you should use API level 10 instead.