Eclipse:Some sites could not be found. See the error log for more detail.解决的方法

今天遇到了一个奇葩的问题。我把我的sdk tools的版本号升级到23后。我在eclipse中尝试升级ADT,发现了这么一个问题,以下分析下原因:

当我在eclipse中选择Help-->Check for updates时。会弹出一个框。例如以下:

Eclipse:Some sites could not be found.  See the error log for more detail.解决的方法

首先解释下这个错误出现的原因

Eclipse在check for updates时,是依据下图列表中全部的Available Software Sites来check的。

当出现某一个site不存在时。就会出现上图的错误。

Eclipse:Some sites could not be found.  See the error log for more detail.解决的方法

这里可能有人会问,我曾经装的时候地址都能用,为啥如今地址不在了。这个是由于有些插件的site的地址事实上并非一成不变的。

Eclipse:Some sites could not be found.  See the error log for more detail.解决的方法

解决的方法:把第一幅图中所提示的不存在的地址。在第二幅图的列表中找到,把不存在的地址前面的勾点掉或者进行删除。这个时候再进行check for updates即可了。