google api 1.5 android - android

how to download Google API 1.5 for android SDK using Eclipse if it is not in the available packages ????

Because my first Android dev device is Hero (Android 1.6), I never downloaded Android 1.5 SDK. I just checked the SDK Manager, Google API 3 is still in Available packages. This is the screenshot of my SDK Manager:
You can find that in "Available packages" -> "Third party Add-ons" -> "Google Inc." -> "Google APIs by Google Inc., Android API 3, revision 3". Please check again:)

If you have already set up the SDK, 1.5 probably isn't in your available packages because it's already in your installed packages. Just try creating a new project that targets 1.5 and see if it's there.

You are probably looking at the wrong place. The SDKs are not installed using "Install new software ..." that you used to install the ADT plugin. After installing it you must open in "Window"->"Android SDK and AVD Manager". From there clicking on "Available packages" and on the right pane on the "Android Repository" arrow should open all the available SDKs. There you can find "SDK Platform Android 1.5, API 3, revision 4". If you can not see the "Android SDK and AVD Manager" from within Eclipse you have not configured the ADT plugin (Eclipse preferences inside Android option) to use your base SDK files (those must be installed manually and then enter where you installed them).

Related

How to add newer Android Sdk's to ADT plugin (Eclipse)?

This is my first question in this site so forgive me if this is asked before.
My Laptop is very humble (Acer 5733Z) and can't run Android Studio conveniently and the CPU does not have the virtualization feature to support emulator so I use the eclipse ADT plugin for developing simple apps for android since it runs smoothly without any problems.
But the problem is that i have only up to API17 (Android 4.2) SDK installed and when I open the SDK manager to install the newer SDK' it doesn't show any newer API's as shown :
SDK manager screenshot
So, Is there any way to add SDK's manually or something ?
Any help would be extremely appreciated.
IIRC, you need to update the "SDK Tools" and "SDK Platform-tools" entries before you can download newer SDKs. You will see those highlighted with yellow download arrows, and if you click the "Install 3 packages" button, the SDK Manager will download and upgrade those packages.
you want to update your SDK Tools for newer version of android
latest is r24.4.1 in this version android 6 now available
you can see this link for detail of all sdk tools version
Click here

Android 4.4 ( KITKAT ) API LEVEL 19 is not listed in Android SDK Manager

As its apparent that Android 4.4 ( KITKAT ) API Level: 19 is now available.
I just want to update to the latest API Level and then change the android:targetSdkVersion="19"
in the manifest file.
I clicked on Android SDK Manager using Eclipse Java EE IDE for Web Developers having Version: Helios Service Release 2.
The Android SDK Manager opened but I didn't found Android API Level: 19 in the list of Packages.
Further I saw other SO posts mentioning that if you clear the cache under Tools -> Options in Android SDK Manager and reload the Android SDK Manager then you will get this API listed in packages.
I did the same but no luck.
The screenshot below-
Upgrading to latest "Android SDK tools" was the solution although that was not straight forward and required a little tweak. It required to first update the ADT.
Once the ADT was updated, I reloaded the "Android SDK Manager".
Now, there was no Tools preview channel listed as installed in Android SDK Manager and reloading the Manager asked for either to install "Tools" OR "Tools(Preview Channel)".
I did the install for "Tools" and it worked.
Meanwhile, the link helpful to sort out the problem was -
Update Android SDK Tool to the latest version.
During process, it was giving timed out error and there was no direct update allowed.
So, as mentioned in the linked post, I first updated the ADT to the latest and then I
installed the "SDK Tools" for the recently updated ADT.
Then once I get the recent "SDK Tools", it was all set.
Since it was the new install of ADT, so there was no "Tools (Preview Channel)" already installed as was before. However, it is now your choice what Tool you want to install. I installed "Tools".
Then I reloaded the "Android SDK Manager" and API 19 appeared.
I had the same issue and fixed it by clicking "Packages -> Reload".

Eclipse Can't find & install SDK platform Android 1.6 API 4

I would like to install Android SDK platform 1.6 (API 4).
So, on Eclipse, I went to Android SDK and AVD Manager tool, I click on "Available packages" and expand "Android Repository".
But I can not find Android 1.6 API 4, the minimum version it shows is v2.1 API 7.
why? How can I install android 1.6 API 4?
In the repository view, it appears for me as 'SDK Platform Android 1.6' and 'Google APIs by Google Inc.', both version 4 (note: these are two different things that I won't explain here).
Things are clearer if you pick the 'API Level' radio button at the bottom of the SDK Manager. If this doesn't appear then your SDK tools are probably out of date and I suggest you upgrade.
Run as administrator
Uninstall any API greater than 1.X
Close SDK Manager
Reopen in administrator mode
Now u have all APIs in the list

Android SDK and Eclipse, shows different installed platforms?

When I open C:\Program Files\Android\android-sdk\SDK Manager.exe it shows me that I have installed
Tools
Android SDK Tools
Android SDK Platform-tools
Android 2.2 (API 8)
SDK Platform
Samples for SDK
Google APIs
When I open Eclipse and click on the "Android SDK Manager" button it shows that Ive installed
Tools
Android SDK Tools
Android SDK Platform-tools
Android 4.0.3 (API 15)
Documentation for Android SDK
SDK Platform
Samples for SDK
ARM EABI v7a System Image
Google APIs
Sources for Android
Android 2.1 (API 7)
Documentation for Android SDK
SDK Platform
Samples for SDK
Google APIs
Extras
Google USB Driver
Why does it show different packages and wich one should I use?
This is most probably because Eclipse is using a different Android SDK location than C:\Program Files\Android\android-sdk. Take a look at Preferences > Android > SDK Location field to see what Eclipse is using.
Go to Windows Menu, Click on Preference Option and in the Dialogbox left side there is second option called "Android", click on it & check that your SDK directory is same as you are view from C: or some other.

android target api not visible

i have installed android sdk.
i have also downloaded and installed the adt plugin in my eclipse ide.
now when i go to preferences to set the path for android sdk, when i set the path and then press apply-- automatically the target api should be listed below. But they are not being listed below for some reason.
what could be the problem?
thank you in advance
Within eclipse, go to Window > Android SDK and AVD Manager then choose Installed Packages from the left hand side. Do you see things like SDK Platform Android 2.3, API 9, revision 1 listed? If not then you need to download them. Select Available Packages then expand Android Repository then select the SDK versions you want to download.

Categories

Resources