现在的位置: 首页 > 综合 > 正文

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

2013年10月14日 ⁄ 综合 ⁄ 共 342字 ⁄ 字号 评论关闭

现象: 下载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

抱歉!评论已关闭.