Missing SDK platform Android, API 18 - android

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)

Related

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

Android sdk access is denied

When i open eclipse it says
This version of ADT requires Android SDK Tools revision 21.0.0 rc9 or above.
Current revision is 20.0.0
Please update your SDK Tools to the latest version
So i click the open sdk manager button and but the only things i see are
Androids SDK Tools Rev 20 installed
Android SDK Platform-tools Rev 12 Installed
No options to update and no platforms to install. SO i try running the android.bat as the administrator and i see in the cmd 13 lines of Access is denied
I'm pretty new to android development and eclipse and so now i have no idea what to do
I'm on windows 7 and it is eclipse Juno
Actually, the solution involves no delete or download of the whole installer. After you update the Eclipse ADT, you just have to update the SDK tools in the SDK manager too. The trick is open SDK manager -> Packages menu -> Reload. Then the latest revision will be available to update. It's just that simple, but actually annoying at first.
still you are facing the problem than please click here
Try to reload the packages. it will solve the issue.
Check this link.
I hope it will help you.
Thanks

Trouble installing Android 4.2 APIs

I updated ADT through Eclipse today to version 21. Now when I open the SDK Manager I would expect there to be a folder like "Android 4.2 (API 17)", which would contain the SDK Platform and APIs, documentation, etc. However, instead I just get a folder called "API 17", and the only thing in it is "Google APIs", which I can't even install because
Installing this package also requires installing:
- Missing SDK Platform Android, API 17
What do I do here? Thanks
I figured this out myself after some poking around. I went into the settings for the SDK Manager, cleared the cache, and told it to use HTTPS, then refreshed the listing and it all appeared normally.
Eclipse > Window > Android SDK Manager > Packages > Reload
It then properly updated the UI to let me choose updated software.
Why do I need to click "Reload" manually ?!
I expect that to happen automatically when I open the SDK Manager.
By this step~
1)
Eclipse > Window > Android SDK Manager > Packages > Reload
2)
then install the sdk
ref: http://my.eoe.cn/iceskysl/archive/1027.html
Eclipse > Window > Android SDK Manager > Preferences > Clear Cache Button click> Done.
I had this problem in ubuntu.
Open a terminal and navigate to the android-sdk-linux folder:
cd android-sdk-linux
Then manually update the sdk:
tools/android update sdk -u
After it is done, restart Eclipse.
As error suggest : API 18 depends on SDK version n etc etc.
So first update SDK tool to latest version (deselect API 18) then try to install API 18.
Try approving each package one by by instead of doing approve all. If any package has an error, you can't download all at the same time.

Android : Cannot install earlier packages

I have successfully installed Level 13 (3.2) during the Android SDK installation, but chose not to include any earlier levels at that time.
I now would like to install 2.2 or 2.3, but in the SDK / AVD manager I get the message:-
Failed to fetch URL
https://dl-ssl.google.com/android/repository/addons_list.xml, reason:
File not found
I've looked this up in other posts and so run the SDK manager with Administrator permissions, and have turned off the firewall. Eventually, it comes back with SDK tools revision 15, and SDK PLatform tools revision 9 only.
Should I have installed earlier packages during setup?
Would an uninstall / reinstall cure this behaviour? (Reluctant to do
this :-( for obvious reasons)
Is it possible to get earlier levels having installed just level 13?
Any help would be greatly appreciated. Thanks for looking.
Old Android SDK tool (r13 and earlier) fetch/download available SDK from here repository, after google release r14 and r15, they remove all SDK verion and only leave r15 in this URL, that means they want you use the latest SDK tool r15.
New Andorid SDK tool (r14 and r15) fetch/download available SDK from a new URL repository-5, which contains everything downloadable.
If you are not using anything else like Maven (currently incompatible with latest ADT) with your project, the simplest answer is upgrade both your Android SDK tools and ADT Eclipse plugin.
I just setted up my android environment yesterday - try to download the package manually and load them as Archive files, this worked for me! ;)

Android Unknown Command 'crunch'

I just installed Eclipse and Android SDK in Mac OS X.
I imported the project to Eclipse and i get the Unknown command 'crunch' error while running the project.
How should I solve this issue.
Please help me
I just update
"Android SDK Platform-Tool" to 8 Rev and "Android Asset Packaging Tool"
from android sdk manager,
and then it works.
Have a try!
After updating to ADT r14, go to Window -> SDK Manager (in Eclipse)
Check on 'repository', uncheck "installed"
Wait for packages to load, then select all support packages, accept all and install them
Restart Eclipse
Run your apps on new ADT r14, without 'crunch' errors
Worked for me :)
Updating Android SDK Tools to r14 and Android SDK Platform-tools to r8 also solved this problem for me.
I had to check 'Installed' in the SDK Manager in order for the updates to be listed (even though I had the previous versions already installed). Checking only the New/Updates box meant they wouldn't show up in the list.
Go to Window -> Andriod SDK Manager (in Eclipse)
Check on 'repository', uncheck "installed"
Wait for packages to load, then select all support packages, accept
all and install them
Restart Eclipse
I had the same issue.
To fix it :
- Uninstall the current sdk tools (Android SDK Tools and Android SDK Platform-tools) in the Android SDK Manager
- Reinstall them at their last version (r14).
I encountered this kind of problem also, when updating SDK,
The solution was to re-enter the SDK folder path to the Eclipse.
(For some reason, the new SDK was instaslltion was in a diffrent folder from the original one)
For me, what worked was a combination of what Androgeek and tinyau said.
Summing up. I needed to update both my Android SDK Tool and Support Tools and restart eclipse.

Categories

Resources