Eclipse support for previous APIs - android

I have formatted my system and have installed "Eclipse - Juno". I have done all the Java path settings and SDK settings as well. But the eclipse shows the minimum target API level is 17 and Android version is 4.2. How do i get it to support API levels from 8 ?
How do i get the previous level SDKs? Can i use the SDK Manager to install them?

Set the minumum level api to 8 in your manifest.
Please also remember you have the required sdks installed and eclipse know where you have it.
Also, in your C:\Users{USERNAME}\android-sdks\extras\android\support
Has the v4,v7,13 backward capiabilty support libraries, add it to build path to use previous apis.

Have you downloaded the corresponding API level SDKs?

You need to download all your required SDKs. That is, when you install a new instance of the ADT, it only contains the latest API support. To download SDKs follow these steps.
Open Eclipse (Juno in your case)
Select Window -> Android SDK Manager
Wait for a few seconds till it loads the list of all SDKs (both installed and not installed, see under the status column).
Select the check boxes for all the APIs, Tools and Add-ons you want to download and click the Install nn packages... button. Select the "Accept All" radio button and click Install button and wait till it downloads all SDKs.
You may need to provide the correct SDK path if you have altered it during/after your installation.
Hope this helps.

Related

Android Studio SDK is not compatible with Windows

I've installed Android Studio in Windows 10. When I open Android SDK Manager and try to install 2.2 SDK platform I have the problem. It's not compatible with Windows and I can't install it. I've attached a screen shot of the problem. I can't install any version below 4.0 (API 14).
Allright I had the same problem but managed to fix it (I believe)
Found a website that has standalone downloads for each version
If you download them and place them into the android-sdk/platforms folder named as "android-APINUMBER" for example version 2.1 would be "android-7" then you reload the manager and they will show as installed, hope that helps and also I hope they make them downloadable again.
The api level 8 is very old and according to the api distribution the distribution of api level 8 is 0.1%. Most of the libraries and apps comes today on play store will be targeting newer devices so there is no meaning of supporting devices with api level 8. So it is advisable to target newer devices and newer apis which have more features.
It's not just 2.2 flagged as not compatible with Windows.
I had same problem. To solve it I clicked on Packages at top and clicked Show Obsolete Packages which then enables you to download/install the package
The fix is to run SDK Manager.exe in Administrator mode. You need to run it manually from the android\sdk directory. This clears the issue.
I had the same issue, but I have resolved it the next:
1) Install jdk1.8...
2) In AndroidStudio File->Project Structure->SDK Location, select your directory where the JKD is located, by default Studio uses embedded JDK but for some reason it produces error=216.
3) Click Ok.
Today, I encountered the same problem.
Later, I found that a security software takes up virtualization.
My solution is to turn off the use of security software for virtualization.
Turn off!

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 .

How to update Android APIs?

I have API upto 11. Now I want to work on API 14, so please tell me how to take updated remaining higher API 12, 13, 14 etc.
If you are using Eclipse IDE then Click on Windows-> Android Sdk Manager->this opens a dialog in which all shows all versions which are installed or Not installed-> then check mark on which you want to install-> click on install packages button-> then click on Accept and install the same.
Open you Andorid SDK manager and update to the relevant packages from within eclipse

got error on android with eclipse: no target available

i install all the programs that need for develop on android
i start project like this:
File - new - project - android - android project > next
but in build target i see: no target available
what can be the problem ?
thanks in advance
You probably didn't set the path to the Android SDK in eclipse yet.
Go to Window -> Preferences -> Android and enter the path to your SDK into the SDK Location textfield at the top.
You have no Android platforms installed
In this case go to
Window -> SDK and AVD Manager -> Available Packages -> Android Repository and select a few targets¹, then click install. You can check for already installed platforms on the left under Installed packages if you are not sure.
The targets you are looking for are the SDK Platform Android X.X , API Y, rev Z ones.
If you don't want to download much, I'd say get Android 2.3.3., API 10 and Android 3.2, API 13. 2.3.3. is the most recent phone version of Android, and 3.2 is the newest tablet version.
¹ If you got a decent internet connection I'd recommend to get everything, you will need a few target platforms sooner or later anyway.
You need to select a build target in that dialog, e.g. Google APIs 2.2. That dialog is a little confusing, because it has a scroll pane in it, which is easy to overlook. You need to scroll down to get to some options.

Categories

Resources