2011-09-12 30 views
0

我試圖下載Android的源代碼,CyanogenMod爲了解更多關於自定義Android ROMs,我在新鮮安裝的Linux Mint 11上,並且我已經正確設置了一切。現在,當我嘗試使用回購從GitHub拉:回購初始連接超時

$ repo init -u http://github.com/CyanogenMod/android.git 

我收到以下錯誤信息:

獲得回購...
從混帳://android.git.kernel。組織/工具/ repo.git android.git.kernel.org [0:92.242.132.18]:錯誤號=連接超時
致命:無法連接的插座(連接超時)

谷歌搜索發現Ť他的答案是這是一個防火牆問題,系統無法連接到端口9418上的android.git.kernel.org。(我也嘗試下載Android AOSP源代碼)。但是,如何使系統連接到端口9418沒有答案。請讓我知道,我也是Linux的noob。

+0

git clone http://github.com/CyanogenMod/android.git適合我 – njzk2

回答

0

我在這裏有同樣的問題。事實證明,該工具回購已過時。我注意到這個事實,因爲我的磁盤上有這個文件的兩個版本。我問系統如何鏈接到命令repo

$ which repo

~/bin/repo

複製新回購腳本到這個位置後,走了錯誤。