"http://android.git.kernel.org/repo 打不开"问题解决

来源:互联网 发布:ping使用的端口号 编辑:程序博客网 时间:2024/06/05 00:24

现象: 下载Android源码时,运行”repo init –u git://android.git.kernel.org/platform/manifest.git“后,没有正确执行。 
原因:  android.git.kernel.org是google以前用来下载android的网址,现在不用了。
        新的是:
        repo init -u 
https://android.googlesource.com/platform/manifest 
补充: 当然,在repo之前,先要进行curl, 那么,在curl时也要用如下的语句才行。 
       curl 
https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo

0 0
原创粉丝点击