Android : Cannot install earlier packages - android

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! ;)

Related

How do you install and earlier version of Android Tools and Platform Tools?

I am trying to get the android simulator working in Appcelerator's Titanium Studio on Windows 7, but it is not compatible with the latest Tools version (23) due to android issue #66740. However I can't seem to find a way to install Tools version 22.
I used the Google installer from here: http://developer.android.com/sdk/installing/installing-adt.html
After installing if I run titanium setup check in the cmd window it says that the tools is unsupported version 23.0.2 and platform tools is unsupported version 20.
According to the Titanium Docs I need Tools version 22 and Platform Tools version 19. I can't figure out a way to get earlier version of either, I can only install earlier versions of the Build-tools and SDK.
Well, you could use direct link, like http://dl.google.com/android/android-sdk_r21.1-windows.zip - here is tools revision 21.1 with platform tools revision 19 (if you will download revision 22, just change the number; it will have r20 platform tools).
You could find more in official documentation of Titanium: http://docs.appcelerator.com/titanium/3.0/#!/guide/Installing_the_Android_SDK)
Or, you could just use tool right in Titanium: Go in dashboard, in "get started" click on "Android SDK->Install or Update Android SDK", as seen in picture [1]. Then unhide settings, select empty folder to installing sdk, and versions of Android [2]. It will install, and it should work.
Sorry, couldn't post images so far, so here:
(1): i.stack.imgur.com/bHHx5.png
(2): i.stack.imgur.com/mXQwH.png
Go to android sdk manager and download all the versions you want to do
http://developer.android.com/tools/help/sdk-manager.html
Thanks
I had the same problem. Eventually I have found the bug report that referred to it: TIMOB-17221. The bug is marked as fixed in SDK 3.3.0, but that version of SDK has not been released yet, so I was stuck again.
Then from Appcelerator's Wiki I found out that there is a Titanium CI builds page. Download 3.3.0 from there, install and everything should start working again. At least it did for me. Good luck!

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)

Android SDK: Update platform tools

I currently have Android SDK Platform-tools 14 installed. (Edit: Seems to be the current version)
Since this has a bug that makes Logcat unusable and it seems to be fixed in newer versions, Id like to update it.
How can this be done?
SDK Mangager.exe does not find a newer version than 14. I restarted it multiple times and installed all available updates.
The android page says the current version is 20 but they don't provide a download.
Installing the latest SDK starter package doesn't solve it.
Screenshot:
The Google page is talking about the tools not for platform tools.Actually there are two different folders in SDK one is tools and one is platform-tools so as per the latest release there latest version is
for platform-tools :platform Tools
for tools :Tools
so if you are having problem just download the zip and replace the old one with new one installed.
if you are getting problem with the new catlog use the old one (LogCat-Deprecated).
Launch standalone SDK manager and not from Eclipse. It then should fetch list of available packages and offer you to update all old packages, as your ADT v14 is quite ancient.
Alternatively, if everything else fail, you always can fetch ADT by hand from http://tools.android.com, unpack tools to your , replacing old stuff and then installing Eclipse plugin. Please note you need to download both and install as latest version will not work with outdated packages.

Having problems downloading Android Development Tools for Eclipse 4.1.0

I tried to download the Development tools for the Android SDK last night and have been getting this error every time I try to download it ever since:
Cannot complete the install because one or more required items could
not be found. Software being installed: Android Development Tools
16.0.1.v201112150204-238534 (com.android.ide.eclipse.adt.feature.group 16.0.1.v201112150204-238534)
I've tried running Eclipse as an administrator, downloading the Google Plugin for Eclipse Galileo, and many assortment of things, but nothing seems to work. Is there a Google plugin for 4.1.0, would I have to reinstall an earlier version of Eclipse, or am I missing something else entirely?
NB: I've been using Windows 7 64-bit Eclipse 4.1.0, as well as the 64-bit version of JDK 1.7.
android sdk dosen't support JDK 1.7, use 1.6.
you should use Eclipse 3.7. Eclipse 4.* is a work in progress and shouldn't be used in production environments yet.
You did not mention anything about the Android Development Tool (ADT) which is required to develop Android apps.
You can get it from here, http://developer.android.com/sdk/eclipse-adt.html
You will need Android SDK r16
Does my answer to this question help?
Also note that there have been some documented bugs with running Eclipse in JDK 1.7 - make sure you have the very latest updates to JDK or use 1.6 instead.

ADT Plugin 10.0.1 not working in Eclipse 3.6.2

I have installed the latest android sdk (android-sdk_r10-windows.zip), latest eclipse helios (eclipse-jee-helios-SR2-win32.zip) and latest adt plugin (ADT-10.0.1.zip). Below is the listing for the installed packages of my android sdk:
Android SDK Tools, revision 10
Android SDK Platform-tools, revision 3
Documentation for Android SDK, API 11, revision 1
SDK Platform Android 3.0, API 11, revision 1
Google USB Driver package, revision 4
I did also edit my Windows path environment variable to include the path to adb.exe and set my android sdk location in eclipse preferences accordingly.
Everything looks perfect until I try to import a sample project (by phonegap). There is a console message telling "Failed to parse the output of 'adb version'".
I have been googling around since yesterday. I just wonder if anyone did manage to get all these (eclipse 3.6.2, android sdk r10, adt 10.0.1) click together.
By the way, I find that there is also no way for us to fall back to earlier combination of eclipse, android sdk, and adt plugin. In my case, I managed to get an earlier android sdk (android-sdk_r09-windows.zip) and adt 9. But when I tried to install the basic packages online, I was hit by this error:
"Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml, reason: Connection timed out: connect"
Earlier android sdk and adt plugin is not available; latest android sdk and adt plugin is not capable.
Many thanks for help on this.
Start Here: http://developer.android.com/sdk/eclipse-adt.html
Head over to the installing URL: http://developer.android.com/sdk/eclipse-adt.html#installing
Look at the path for the download: http://dl.google.com/android/ADT-10.0.1.zip
Substitute the version you want in that link:
ADT 10.0.1: http://dl.google.com/android/ADT-10.0.1.zip
ADT 10.0.0: http://dl.google.com/android/ADT-10.0.0.zip
ADT 9.0.0 (Dead Link): http://dl.google.com/android/ADT-9.0.0.zip
ADT 9.0.0: http://dl.google.com/android/ADT_9.0.0.zip
ADT 8.0.1: http://dl.google.com/android/ADT-8.0.1.zip
ADT 8.0.0: http://dl.google.com/android/ADT-8.0.0.zip
ADT 0.9.9: http://dl.google.com/android/ADT-0.9.9.zip
ADT 0.9.8: http://dl.google.com/android/ADT-0.9.8.zip
ADT 0.9.7: http://dl.google.com/android/ADT-0.9.7.zip
ADT 0.9.6: http://dl.google.com/android/ADT-0.9.6.zip
ADT 0.9.5: http://dl.google.com/android/ADT-0.9.5.zip
ADT 0.9.4: http://dl.google.com/android/ADT-0.9.4.zip
Given that the 9.0.0 link swapped a '-' for a '_' in the path, it looks like some poor soul is doing these builds by hand. Too bad directory browsing isn't available for these. Anyway, hope this helps someone in the future.
You can change the url from https://dl-ssl.google.com/android/repository/repository.xml to http://dl-ssl.google.com/android/repository/repository.xml and try again.
You can check the project you are trying to import for settings which are not campatible with your Eclipse or SDK version.
The eclipse version should be fine. You should focus on the SDK version. many have had trouble on Windows with rev 10. You can install and use all the previous versions of Android SDK easily as long as the url you're using is correct.
I finally got all these click together already. It is actually due to the antivirus/firewall program. It is indeed nothing wrong with eclipse, adt plugin or android sdk. Just make sure that android executables is not blocked from running. Anyway, big thanks to those contributed to this post.

Categories

Resources