情况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 refused

fatal: 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的内容和上面的一样







更多相关文章

  1. android 获取APP大小及其清理缓存内容
  2. Android内容提供者ContentProvider用法实例分析
  3. 内容提供器
  4. android之 实现对搜索框输入内容(自动出现匹配内容)
  5. Android Gradle plugin 3.5.0的更新内容
  6. Android实现EditText控件禁止输入内容的方法(附测试demo)
  7. android 精典博文内容推荐
  8. Android必背内容(待续)
  9. android 实用sax 读取xml文件内容 附源码

随机推荐

  1. Android init进程
  2. Android中的进程有哪些?说出它们的优先级
  3. JS或TS调用原生Android的方法
  4. Android不继承ViewPager实现自动滚动翻页
  5. android getContext(),Context
  6. android studio的安装(史上最详细)
  7. Unity Android IL2CPP 编译报错的一种可
  8. Android之GPS定位详解
  9. android获取有效可用存储空间大小
  10. Android非5.0系统下singleTask singleIns