ADT won't update to 21.1 - android

I have downloaded ADT in January. I just updated the SDK to latest. When I launch Eclipse, it get a warning that my SDK version now requires ADT 21.1, so I click to check for updates, but Eclipse does not find any udate.
Now most of my features no longer work, and prompt for a NullPointerException whenever I do any action.
Is there a way to force eclipse to update or to download the correct package and force the update?

Have you tried making sure the Android SDK first? Goto Window > Android SDK Manager. Make sure all that is updated then try Help > Check For Updates again
you could then try uninstalling the ADT plugin and -reinstall. (Uninstalling Android ADT) Google mentions if you have problems to uninstall it (http://developer.android.com/tools/sdk/eclipse-adt.html)
if that doesn't uninstall correctly then you may have to have uninstalling and re-installing Eclipse entirely

Also verify that your version of Java is patched to the latest update. It's not a bad idea to reboot the computer after each update, too.

Related

Android SDK installation errors

Installing the Android SDK. Got Eclipse Juno (latest version). Ran into some minor issues with the installation, but managed to get past them. But now I have one I just can't work through. I've downloaded the Eclipse ADT Plugin. When I restart Eclipse, it gives me this error: "This version of ADT requires Android SDK Tools in revision 20.0.0 or above. Current revision is 16.0.0. Please update your SDK Tools to the latest version." The error dialog box gives me a button to open the SDK Manager, which I take. It opens the SDK Manager and it finds the new packages that I need. When I go to install them, I get ANOTHER error. The log says:
"Failed to rename directory C:\Program Files (x86)\Android\android-sdk\platform-tools to
C:\Program Files (x86)\Android\android-sdk\temp\PlatformToolPackage.old01."
and a dialog pops up telling me that it can't rename the folder and what to try to get it to work. It never works, and I have to Cancel everything all the way back to Eclipse (which is still miffed that I don't have the latest stuff).
I've tried rebooting and such, but it doesn't help. I tried running the SDK Manager as Admin, but when I do that, it thinks it has all the latest stuff (weird) and won't want to download anything.
Just FYI, I have Rev. 16 of the Android SDK Tools (it wants 20) and have Rev. 10 of the Android SDK Platform-tools (it wants 12).
Thanks for any help!
Did you start eclipse as an Administrator? If not, try it, sometimes eclipse just installing updates if you are an admin.
If I update SDK, I first start SDK-Manager without eclipse to install updates. After this is done, I am doing the same in eclipse. Always do this as an admin.

This Android SDK requires Android Developer Toolkit version 14.0.0 or above. .... Please update ADT to the latest version

Please help me with fixing the following error:
This Android SDK requires Android Developer Toolkit version 14.0.0 or above.
Current version is 12.0.0.v201106281929-138431. Please update ADT to the latest version.
I am facing this error problem when I am using Eclipse.
This error happens due to an incompatibility between ADT and SDK.
To fix it:
Eclipse > Help
Install New Software
Add this to Work With section and press enter
After developer tools appears on the list, check it and click Next
Restart eclipse once download is finished
Similar problem was already discussed here: Eclipse: won't let me use Android SDK, wrongly claims my ADT is out of date
The reason is that you have updated android sdk but your android adt plugin is not up to date. So updating your Eclipse plugin would resolve the problem.
In Eclipse go to Help.
Select the "Install New Software" menu item.
From this dialog, click the "Add..." button. This will bring up a new, smaller dialog.
Enter the Name "ADT" and Location: "https://dl-ssl.google.com/android/eclipse/"
after loading you will get Developer Tools and NDK Plugins
check both if you want or check Developer Tools.
click Next
Accept licenses, and Finish
if you don't want to update your ADT version, you can do this for fix your problem.
modify ${android-sdk}/tools/lib/plugin.prop plugin.version to your current version, restart eclipse.
# begin plugin.prop
plugin.version=22.3.0
# end plugin.prop
enjoy it.
For those of you who are experiencing this problem:
Eclipse says the ADT needs an update
-You click to check for updates
-It tells you there are no updates
You need to run Eclipse as administrator. This will immediately fix the problem.
Eclipse -> Help -> Check for updates
Check 'Android Development Tools' and install the update
As a general rule, the version of the ADT plugins in Eclipse are paired to a specific SDK version. It's not very well documented, but if you update one at any point, you need to update the other. The version number of the tools and the plugins are usually in sync, but in some cases, they aren't. In fact, right now (June 27) the SDK is version 19 and the plugins are 18. Of course, that will change later today when Google IO starts. The intent is to keep the version numbers in sync, but it doesn't always work out that way.
You can get the older versions of ADT and/or the SDK from the Android tools site. In some cases, you have to figure out the secret for the URL to directly download the older packages, but they are there.
It shouldn't be necessary though. The plugins and the SDK work with all prior versions of the platform, so you should always be safe installing the latest SDK and plugins directly from the Android Developers site.

Updated Android ADT, now getting errors

I've just updated my android adt to version 17 and now i cant start my android projects. When I try to update it gives me an error:
This Android SDK requires Android Developer Toolkit version 17.0.0 or above. Current version is 16.0.1.v201112150204-238534. Please update ADT to the latest version.
I've tried to update again but it shows me this
Cannot complete the request. See the error log for details.
Android DDMS will be ignored because it is already installed, and updates are not permitted.
Android Development Tools will be ignored because it is already installed, and updates are not permitted.
Android Hierarchy Viewer will be ignored because it is already installed, and updates are not permitted.
Android Traceview will be ignored because it is already installed, and updates are not permitted.
Is there a way to fix this or can i downgrade adt to fix this problem
Get the Newest ADT by going to help, install software, and entering https://dl-ssl.google.com/android/eclipse/
if it doesn't let you, choose from 'available sites'
I had almost the same issue when trying to update the Android ADT tools on my Windows 7 machine. Turned out running Eclipse as Administrator solved the issue for me and I was able to update normally.
Moved my Android folder to Root.
open the SDK manager outside eclipse by browsing into it.
Turn of your virus protection
Turn off zonealarm
Unistall SDk Tools and SDK platform tools.
close out the manager and start up eclipse.
(Inside Eclipse) Help -> Install new Software -> ADD " name =" ADT PLUGIN ",
location " https://dl-ssl.google.com/android/eclipse/ " ---> OK
-----> Check the developer tools box.
I believe i had a corrupted install of 20 so eclipse knew it was there but did not know it was incomplete.Hope this saves someone the 3 hours it took me to figure this out.
Delete all folders/jars under \eclipse\plugins and \eclipse\features. Try installing Android ADT tools again. If you still have same error than search android word under eclipse(installation) folder. Delete all except platform.xml. open platform.xml and search android xml tags and remove all. Try installing again. This solved problem below.
Android DDMS will be ignored because it is already installed, and updates are not permitted.
Android Development Tools will be ignored because it is already installed, and updates are not permitted.
Android Hierarchy Viewer will be ignored because it is already installed, and updates are not permitted.
Android Traceview will be ignored because it is already installed, and updates are not permitted.
The step which i have tried is: Run the SDK Manager and try to update the ADT.

Catch 22, SDK and AVD Manager requires SDK Location, SDK Location requires ADT Update?

So I just attempted some sort of update using the SDK and AVD Manager in eclipse. I think I just clicked update all, and installed an update. After I installed this, I restarted eclipse, but when it started up again, I got an error message saying that I need to update my ADT to the latest version (14.00) and that mine is version 12.00.
But when I try to go to the SDK and AVD manager to update the ADT it says Location of the android SDK has not been set in the preferences
So then when I go to preferences and look at the SDK location it says This Android SDK requires Android Developer Toolkit version 14.0.0 or above. Current version is 12.0.0.v201106281929-138431. Please update ADT to the latest version.
Do I need to somehow manually update the SDK? I am not really sure what happened here. Thanks in advance for any help.
I recently had this issue and what I did was completely remove the ADT, SDK's, tools, everything and then re-install and update. I did not have to delete Eclipse though.
EDIT:
Here is a link to the AVD revision information site. If you look at the different versions, it will tell you the required SDK tools version. When this happened to me, I remember it saying something like "if you have less than version 14 then you must update manually" ... but I was unable to find it.
Here is a link to the SDK tools revision information site.

ADT Can't find the tools directory

Ok, everything was working fine, I had the ADT 0.9 installed under eclipse Galileo. But then I just tryied to install the Honeycomb preview SDK and for that I was prompted to install the ADT 9.0.
The problem is that somehow my tools folder was erased! and apparently it has now been renamed as platform-tools. But whenever I go to Preferences->Android and put the folder where my SDK is, eclipse keeps complaining about the missing tools directory.
What can I do?
UPDATE: The problem was a mix of bad ADT installation and an expired debug key. For more info about how dealing with the expired debug key just take a look at: http://androidbook.blogspot.com/2009/11/tip-dealing-with-expired-debug.html
Restart your workbench and go to Help -> Check for updates. The many of the tools were officially moved from $sdk_root/tools to $sdk_root/platform-tools and the only reason you would be receiving an error would be that you have an old version of ADT.
You can check the version of ADT by going to Help -> About Eclipse SDK. My guess is that either the update failed or after the update you didn't restart the work bench. If neither of these cases is true, i would recommend uninstalling the SDKs and redownloading.

Categories

Resources