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

来源:互联网 发布:淘宝太坑了女主角视频 编辑:程序博客网 时间:2024/05/26 09:54
现象: 下载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
原创粉丝点击