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