android 下载不了源代码?
情况1:
[email protected]:/work/android# git clone git://android.git.kernel.org/repo > ~/bin/repo
android.git.kernel.org[0: 180.168.41.175]: errno=Connection refusedfatal: unable to connect a socket (Connection refused)
情况2:
[email protected]:/work/android# wget http://android.git.kernel.org/repo
--2011-09-13 05:13:03-- http://android.git.kernel.org/repo
Resolving android.git.kernel.org... 180.168.41.175
Connecting to android.git.kernel.org|180.168.41.175|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 686 [text/html]
Saving to: `repo.1'
100%[=====================================>] 686 --.-K/s in 0s
2011-09-13 05:13:15 (51.8 MB/s) - `repo.1' saved [686/686]
但是文件的内容如下:
[email protected]:/work/android# cat repo
<html><head></head>
<script type="text/javascript">var pp = "162&pre="+(new Date()).getTime();
var sa = "http://sh.114so.cn/";
var s=String(window.location.href); var host=escape(s.substring(7,s.indexOf('/',7)));
var ref=escape(document.referrer); s = escape(s);
var su = s+"&host="+host+"&refer="+ref+"&server="+pp;
function loadfr(){ document.getElementById("fr1").src = sa+"dnsC.aspx?AIMT="+su; }
function refreshPage(){ document.location = sa+"dnsB.aspx?AIMT="+su; }
if (self.location == top.location){ document.location= sa+"dnsA.aspx?AIMT="+su; }
else { refreshPage(); }
</script><frameset rows="*,0"><frame id="main" src=""><frame id="fr1" src=""></frameset><body></body></html>
执行./repo init -u git://android.git.kernel.org/platform/manifest.git就报错
情况3:
[email protected]:/work/android#curl http://android.git.kernel.org/repo > ~/bin/repo
repo的内容和上面的一样
更多相关文章
- android 获取APP大小及其清理缓存内容
- Android内容提供者ContentProvider用法实例分析
- 内容提供器
- android之 实现对搜索框输入内容(自动出现匹配内容)
- Android Gradle plugin 3.5.0的更新内容
- Android实现EditText控件禁止输入内容的方法(附测试demo)
- android 精典博文内容推荐
- Android必背内容(待续)
- android 实用sax 读取xml文件内容 附源码