use*_*990 39 connection https sdk android adt
这与许多其他报道的问题相同,例如
选择存储库时,Android SDK Manager会出现"无法获取网址https://dl-ssl.google.com/android/repository/repository.xml"错误
但是所有建议的解决方案要么不相关,要么没有效果.
我的问题是每当我尝试更新Android SDK Manager时,我都会收到连接拒绝错误.这是SDK Manager的日志输出:
Fetching https://dl-ssl.google.com/android/repository/addons_list-2.xml
Fetched Add-ons List successfully
Fetching URL: https://dl-ssl.google.com/android/repository/repository-7.xml
Done loading packages.
Fetching https://dl-ssl.google.com/android/repository/addons_list-2.xml
Failed to fetch URL https://dl-ssl.google.com/android/repository/addons_list-2.xml, reason: Connection to https://dl-ssl.google.com refused
Run Code Online (Sandbox Code Playgroud)
在Firefox中输入https://dl-ssl.google.com/android/repository/addons_list-2.xml只是超时 - 我没有得到XML文档.
我已经尝试过没有强制http://选项但没有运气.这是从家里,我没有使用任何类型的代理服务器,我没有设置防火墙.
Something else I tried (in order to eliminate my machine as the source of the problem) is entering https://dl-ssl.google.com in a web browser on another computer that uses the same internet connection (Acer laptop w/ Win7 64-bit). The connection times out on the other computer as well, which almost leads me to think my IP is blacklisted on the server somehow (I have no idea how that would have happened) or it's an ISP issue.
So my question is how can I get SDK Manager to update? If my IP is in fact being blocked by Google's server for some reason, is there anything I can do to get around it? E.g. by routing through some kind of proxy? Are there any mirrors for dl-ssl.google.com?
Environment info: I'm using ADT Rev 21.1 on Kubuntu 12.04.2 LTS.
小智 51
在Android SDK Manager中选择
工具 - >选项
然后选中"强制https:// ...使用http:// ...获取源"框
小智 10
在linux上,我让它使用sudo执行Android SDK Manager(在你的android-sdk-linux/tools文件夹中)
sudo ./android
Run Code Online (Sandbox Code Playgroud)
我今天遇到了同样的问题,我认为是因为中国GFW阻止了我.坏屁股..好吧,试试这个,sdk经理 - >工具他们使用代理,我试过,
proxy server? www.google.com.hk ?i am in china?try www.google.com if other country??
proxy port : 80
and choose Force https://.... sources bala bala
Run Code Online (Sandbox Code Playgroud)
然后点击包 - >重新加载,问题就消失了.当我谷歌这个问题时,我发现了这一点.
如果你在一个组织中可能有一些问题可能你因为防火墙设置而被阻止但是并且无法修复它去你的android SDK管理器>工具>选项>你会看到以下页面
在此处设置SDK管理器可用于获取依赖关系的代理服务器的配置.
但它也可能是一个较低级别的问题,我的意思是你可能会因为制裁或某事而被访问谷歌服务中断,在这种情况下你必须手动下载以下内容并通过它我的你的android sdk root:platform -tools和平台(android API)目录之后,您的sdk位置中有以下文件夹.
对我来说,解决方案就是继续重试。我发现最简单的方法是定期在浏览器中刷新,一旦返回 XML,就切换到 Eclipse -> SDK Manager。无论出于何种原因,我的 IP 地址块似乎受到https://dl-ssl.google.com的严重限制。希望 Google 工程师能够检查该服务器的配置(denyhosts 设置??),因为这似乎是 Google 群组中许多主题的持续问题
归档时间: |
|
查看次数: |
68060 次 |
最近记录: |