"http://android.git.kernel.org/repo 打不開"問題解決

現象: 下載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

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章