卸载 Android ADT

这似乎是一项琐碎的任务,但我找不到从 Eclipse 安装中干净地卸载 ADT 的选项。 当然,我可以只删除 SDK 的文件夹,但这只会在下次启动 Eclipse 时抛出错误。我问这个问题的原因是因为我的旧 ADT 不断抛出一个奇怪的错误(未能获取 URL https://dl-ssl.google.com/android/repository/addons_list.xml,原因: 未找到文件) ,我需要一个完整的,新鲜的重新安装。

重要提示: 低于 帮助-> 关于 Eclipse sdk-> 安装详细信息 所有安卓插件的卸载按钮都是灰色的

138602 次浏览

The only way to remove the ADT plugin from Eclipse is to go to Help > About Eclipse/About ADT > Installation Details.

Select a plug-in you want to uninstall, then click Uninstall... button at the bottom.

enter image description here

If you cannot remove ADT from this location, then your best option is probably to start fresh with a clean Eclipse install.

If running on windows vista or later,
remember to run eclipse under a user with proper file permissions.
try to use the 'Run as Administrator' option.

I had the issue where after updating the SDK it would only update to version 20 and kept telling me that ANDROID 4.1 (API16) was available and only part of ANDROID 4.2 (API17) was available and there was no update to version 21.

After restarting several times and digging I found (was not obvious to me) going to the SDK Manager and going to FILE -> RELOAD solved the problem. Immediately the other uninstalled parts of API17 were there and I was able to update the SDK. Once updated to 4.2 then I could re-update to version 21 and voila.

Good luck! David

I found a solution by myself after doing some research:

  • Go to Eclipse home folder.
  • Search for 'android' => In Windows 7 you can use search bar.
  • Delete all the file related to android, which is shown in the results.
  • Restart Eclipse.
  • Install the ADT plugin again and Restart plugin.

Now everything works fine.

i got the same problem after clicking update plugins, i tried all the suggestions above and failed , the only thing that worked for my is reinstalling android studio..