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

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

Related

How to install android Lollipop in eclipse?

This android Documentation says that installation procedure of android Lollipop.
in third step they says that
Select everything under the Android L Developer Preview section and click Install packages.
But I unable to find any section like android L developer preview. Where to download it I follow all the steps from my eclipse juno.
Note:
Before installing latest tools in SDK manager, I would recommend you to update ADT plugin from Help -> Check for updates. Otherwise you would have to face issue described here: Update Eclipse with Android development tools v. 23
Answer:
As mentioned in 2nd step, first you have to install latest SDK Tools, Platform-tools, and Build-tools.
Next Step:
After installing latest tools, you will get Android L and Android 4.4W sections:
Update all the SDK tools and restart the SDK manager for the Android L sections to show up.
Since now the Android lollipop came try to install and explore from u can download from android site. Api 21
Here u can find guide also for setup:
http://androidgreeve.blogspot.in/2014/10/step-by-step-guide-to-install-and.html?m=1

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".

Missing SDK platform Android, API 18

While I am trying to Install API 18 it shows only "Google API 18"(nothing more). Now if I try to install these google APIs from Android SDK Manager it shows a message "this package depends on "Missing SDK platform Android, API 18". and Install button is disabled.
Does anybody here have Any idea how to install API 18(4.3_MR2 sdk) with eclipse
Have you installed SDK platform tool version 18? In your SDK Manager, there will be the latest version of SDK Platform tools that you have to install first then restart eclipse and then try for Android SDK API 18
Do this first:
Eclipse > Window > Android SDK Manager > Packages > Reload
Then retry installing
Another way of fixing it:
0) install other packages WITHOUT selecting API 18,
1) restart the Eclipse ADT,
2) Open SDK manager, then API 18 rev 1 shall appear.
Late to the game, same issue. Neither the SDK Tools not the SDK Platform tools showed up for me. This was a 4-step process:
Eclipse/Help/Check for Updates, installed everything that was found, restarted Eclipse
Eclipse/Window/Android SDK Manager - installed Android Support Repository (thanks, BurDog). Closed SDK Manager.
Eclipse/Window/Android SDK Manager - now the Android SDK Tools (Rev 22) showed up at the top, installed. Closed SDK Manager
Now the Android SDK Platform Tools showed up in the API 18 section - installed. Restart Eclipse (or API 18 will not be available everywhere).
Finally good to go to build a new version.
I had the same situation. For me worked updating ADT Plugin to version 22.0.5, closing Eclipse. Then - Eclipse > Window > Android SDK Manager > Packages > Reload.
Hopefully this will help somebody.
Had the same problem. Message was:
package google apis android api 18 revision 1 depends on missing sdk platform android api 18
I solved it like the following steps:
Eclipse -> Help -> Check for Updates (then click on "ok" when asked - do you want to install it - click on "ok" / "yes" to restart eclipse to finish the installation)
Window -> Android SDK Manager -> Deselect all (then scroll down to Extras and Select only Android Support Respository, when not installed, install it)
Window -> Android SDK Manager -> Install xx packages
worked fine for me.
This is how I fixed mine:
Under "Manifest Cache", click on "Clear Cache"
Go to "Packages" and click on "Reload"
Check Tools --> Android SDK Platform-tools
Install just this package
Restart SDK Manager
Eclipse > Window > Android SDK Manager > Packages > Reload
This worked for me. Thanks! Now I can update to 18. I'm new here and tried to vote up Jaguar's post, but I can't.
Seemed kind of klukey, I had similar issues. I finally got passed the api 18 msg when I updated the sdk tools to 22 which then prompted another error that the tools were degraded on reload. I opened sdk mgr again and had a 22.3 and platform tools to rev19 and some other tool choices available. I did yet another update to them along with the API19 and API 18 and it seems like it is moving along now. I think maybe for API 18+ you must update the SDK tools to 22.3 at this point.
Btw, I also got a file lock during part of the process and closing eclipse in the background and hitting retry fixed.
dang.. next it is saying that the ADT must be version 22.0+..
I updated the ADT to 22.3 by using the eclipse/help/install new software (Trying update simply said it was up to date)... one unsigned content error..
Restarted ADT after update.. seems to be working from what I can tell so far.
I´ve solved with this:
Open Android SDK Manager -> Packages -> Reload
Restart Android SDK Manager
Install the "missing" packages (now visible)
I had this problem on my Mac and Windows development machines. The only solution is to reinstall the latest version of the Android SDK. Google really dropped the ball on this.
I had a similar issue as you (purely from problem description), but my Android SDK Platform-tools WAS already installed (16.0.2). All the other packages didn't recognize it, however. I ended up uninstalling the platform tools, and then reinstalling. Then everything else recognized it.
Found from a different website
The steps to resolve this issue:
Open SDK Manager
Go to Tools -> Options
Under "Manifest Cache", click on "Clear Cache"
Then go to "Packages" and click on "Reload"
I am on MAC, I faced the same question. I couldn't find SDK Platform in API 18. The solution to solve it on mac is install the SDK TOOLS first, then restart the sdk manager and then I found the SDK Platform in API 18.
I was having the same problem, but with API19. I installed the following individually, closing Android SDK Manager after each install (thanks cdoner):
Android SDK Tools 22.3
Android Support Repository 3
And then I was able to install API19 with it no longer throwing the error.
("This package depends on 'Missing SDK Platform Android, API19')
I decided to get back into coding after 15+ years and am completely new to Java and Android having only read the book, Head Start Java. Thank you for the easy to follow steps, especially for someone new.
I could not install new SDK from Eclipse (Help -> Install New Software / Check For Updates), it complained the new version is already installed. However, the new SDK did not show up in the SDK manager.
I solved it by installing the new SDK version through command line: android update sdk --no-ui
Afterwards it was possible to update the google APIs and other tools via the SDK manager.
clearing cache solved problem for me. (Tools >option)
I had this problem with API 19. The key for me to use the Android SDK Manager starting in eclipse. Then, the advice above worked to fix the issue.
Background: Because of other command line stuff I was doing, I was starting the SDK Manager by typing "android" at the prompt. - which is what the error I was getting said to do.
it needs minimum sdk and maximum sdk packages.
you just only installed the maximum sdk ie.,API18
3.it also depends on other sdk packages for minimum
My solution to Missing SDK platform Android, API 26 ( It should work for API 18 as well)
Update SDK Tools
Restart SDK Manager and Eclipse
Install SDK Platform API 26, which is now visible
Install the other API 26 packages
If you're using the deprecated version of sdk manager like version r24.xx, then you need to first update the platform tools from sdk installation menu, before installing anything. You may have to do this several times (as long as the update notification shows up)

AVD Creation of Android 4.0 (Ice Cream Sandwich) for windows

Android 4.0 is released now. Where can i get that ADT Plugin for android 4.0. And, also where can i get the Android 4.0's SDK.
I'm using Eclipse for developing the android. I just googling about this but i got answer for linux Where can i get these things for Eclipse using Windows OS. Anyone guid me? Thanks in advance.
Yo are using the Eclipse so ,For 4.0 SDK trace Window>AndroidSdkManager > AvailablePackages >then Select the Platform 14 . it will update your Sdk .
After updating your Sdk you need to update the ADT Plugin .For that trace Help >CheckForUpdate . then select the ADT for platform 14.
Where can i get that ADT Plugin for android 4.0.And, also where can i get the Android 4.0's SDK.
http://developer.android.com/sdk/index.html
http://developer.android.com/sdk/adding-components.html
http://developer.android.com/sdk/eclipse-adt.html#installing
After following these steps, launch your SDK Manager and you will see Android 4.0 (API 14). Hit Install 5 packages.
it is very easy, instead of downloading update your adt in eclipse, do the following,
Open eclipse and goto Help-->Install New Software in that you can see Work with text box
in that select
update site: https://dl-ssl.google.com/android/eclipse/ - https://dl-ssl.google.com/android/eclipse/ that's all you can see developer tools version 14.0 then install that and restart eclipse after install completed. After restarted open sdk manager there you can see android 4.0 then select and update.
Once you download ADT plugin inside the Eclipse, you can download any SDK platform.
After updating or installating ADT 14.0, you will get this SDK Manager (Just check the below snap, i have already installed SDK 4.0)
Update:
For updating ADT plugin, you have to check in eclipse: Help -> Check for updates

Updating SDK 2.3 - what exactly are the SDK Platform tools?

I wish to update my SDK 2.3 to the latest revision of 2.3. I don't want to update to 3.0 preview and lose the GPS emulation and have a slow emulator. 2.3 is just fine for me. I've updated the ADT plugin to 9.0.0 by the Eclipse 'check for updates'.
If I run the AVD manager from Eclipse and look at my installed packages, I have installed :
and the available packages with the ones that I think I want checked are:
My question is: what do I get with the platform tools? Is it just what goes in the platform-tools folder (i.e. the aapt.exe, adb.exe etc)? I don't want to overwrite the tools folder and end up with the slow emulator.
Yes, platform-tools are adb.exe and friends. You will also want Android SDK Tools, revision 9 as well, and don't worry about Honeycomb stuff - even if you do install them, they won't interfere with you (for example you can filter on platform version within the developer docs).

Categories

Resources