20

我将我的 android sdk 更新为并尝试通过 ecplise 更新我的 adt

帮助-> 检查更新

此操作会导致对话框显示:

未找到更新

但我的 SDK 说:

这个android是SDK 需要Android Development Kit 21.1.0 或以上 当前版本是21.1.0.v201212060256-543035

请将 ADT 更新到最新版本。

帮帮我吧,你有我无限的感激之情。

4

8 回答 8

51

Edit. 26/03/2016

Please note that Google Announced: Support for the Android Developer Tools (ADT) in Eclipse has ended, so consider migration to Android Studio.


Solution:

The fastest installation way I found to solve that without deleting eclipse, or losing any data/settings:

  1. Go here download latest version of ADT, current ADT-23.0.7.zip (*)
  2. At Eclipse > Help > Install new software... > Uncheck Contact all update sites during install to find required software (bottom, last preference) in order to avoid any unwanted delays during install.
  3. Same screen (top) Click Add > Archive > select downloaded ADT-X.X.X.zip > follow on screen installation steps

As a user mentioned in a comment if you still face problems on updating like that you may try removing the previous version of ADT before installation.


(*) Previous versions:

Edit to fit the updates of ADT, this solution seems to work in any version :D

于 2013-02-22T11:10:58.557 回答
2

I had similar issue when upgrading to 22.6.1 and I got support from Android team. The solution was super simple.

You need to go Help - Install new software and choose there httpS:// (s is important) update site, and then execute installation.

Check out this solution on Android issue tracker.

于 2014-03-19T08:23:28.750 回答
2

I had another issue with ADT 23+.

My ADT plugin was out-of-date, but Eclipse was still saying that the latest version was already installed. Installing manually the latest ADT version with the archive was not working either.

Eclipse was wrong so I made a clean install of ADT Plugins.

  1. Uninstall ADT in Eclipse: Help > About Eclipse > Installation Details

  2. Select the plugins then click on Uninstall...

  3. Relaunch Eclipse

  4. Install ADT again: Help > Install New Software...

于 2014-07-20T21:31:55.270 回答
1

我有同样的问题。由于某种原因,命令行更新对我不起作用。这是我在此之前的任何更新中都没有遇到过的某种错误。这是我为修复它所做的:

  • 我删除了我的eclipse安装

  • Downloaded a fresh copy of the sdk from the developer website

  • unzipped the sdk and copied only the eclipse folder

  • replaced my old eclipse folder with this one (deleted the rest of the download since I already had the sdk)

  • started up eclipse and pointed the workspace location to the old workspace I already had. All my projects were back as I had left them.

There might be other methods as well. This one seemed simplest to me. Others have suggested updating every eclipse component one by one and things like that but it seemed too tedious to me. If your eclipse installation is heavily customized and you have a lot of plugins installed then it might make sense to find an alternative. My install is always pretty minimalistic so I didn't mind throwing it away and starting from scratch.

Hope this helps!

于 2013-02-22T11:09:31.087 回答
0

And at the page Google for Android Development at link http://developer.android.com/sdk/installing/installing-adt.html#Troubleshooting

They say:

If Eclipse can not find the remote update site containing the ADT plugin, try changing the remote site URL to use http, rather than https. That is, set the Location for the remote site to:

http://dl-ssl.google.com/android/eclipse/

For me - it's help.

于 2014-01-10T11:20:02.740 回答
0

If the solution of madlymad is not working, you could also try this solution which has worked for me.

In short: completely uninstall adt and then use the archive to install it again (as suggested above).

Without the uninstall i ran into conflicting jars.

于 2014-07-15T15:20:40.220 回答
0

Download Updated bundles here:

win32: Here

Unfortunately, you will NOT be able to update an existing installation. Just use a new copy of Eclipse and install the plugins using the update site, or use the bundle.

OR You can fix this issue by removing all old Android plugins. Once you have removed all of the old Android plugins you can then install the new ones.

  1. Open Eclipse
  2. Select Help
  3. Select About Eclipse SDK
  4. Select Installation details
  5. High light all Android plugins
  6. Select Uninstall
  7. Restart Eclipse
  8. Then install the plugins again as normal
  9. Restart Eclipse

At this point everything should be working again.

Solution via: https://code.google.com/p/android/issues/detail?id=73102

于 2015-01-11T00:58:11.087 回答
-2

您始终可以尝试在 Eclipse 之外更新 SDK 工具和平台工具。

在 CMD 或 Terminale 类型中:

 $ android

SDK 管理器将启动。

于 2013-02-22T11:07:16.157 回答