【发布时间】:2013-09-06 06:07:23
【问题描述】:
从 Eclipse 开始时,我收到以下消息:
Android SDK ping 遇到问题, ping usageServer 失败
点击详情:
pingUsageServer 失败 错误版本:22.0.5
我知道这个问题已经发布,但我没有找到任何相关的解决方案。我正在使用 Windows 8。
在运行 SDK 时:
//////////////////////////////////// 获取http://dl-ssl.google.com/android/repository/addons_list-2.xml 成功获取加载项列表 获取网址:http://dl-ssl.google.com/android/repository/repository-8.xml 验证 XML:http://dl-ssl.google.com/android/repository/repository.xml http://dl-ssl.google.com/android/repository/repository.xml 的 XML 验证失败。 行-१:-१,错误:org.xml.sax.SAXParseException; schema_reference.4:未能读取架构文档“null”,因为 1) 找不到文档; 2) 文件无法读取; 3) 文档的根元素不是 . 完成装载包。 获取http://dl-ssl.google.com/android/repository/addons_list-2.xml 成功获取加载项列表 获取网址:http://dl-ssl.google.com/android/repository/repository-8.xml 验证 XML:http://dl-ssl.google.com/android/repository/repository.xml http://dl-ssl.google.com/android/repository/repository.xml 的 XML 验证失败。 行-१:-१,错误:org.xml.sax.SAXParseException; schema_reference.4:未能读取架构文档“null”,因为 1) 找不到文档; 2) 文件无法读取; 3) 文档的根元素不是 . 完成加载包。
【问题讨论】:
-
最后我通过更新 hosts file.C:\Windows\System32\Drivers\etc 解决了这个问题,在最后一行我更新了 74.125.237.1 dl-ssl.google.com,第二次更改了Windows 语言印地语到英语。