curl https://android.git.kernel.org/repo > ~/bin/repo
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed to connect to android.git.kernel.org port 443: Connection refused
curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:01:23 --:--:-- 0curl: (7) Failed to connect to dl-ssl.google.com port 443: Connection refused
請問有沒有可以下載repo的網址啊,我想在linux下下載android原始碼
uj5u.com熱心網友回復:
代碼應該在這兒 https://android.googlesource.com/platform/frameworks/baseuj5u.com熱心網友回復:
網上說都是通過repo來下載android原始碼啊,google在repo里面配置好了git,通過repo可以下載不同的android原始碼uj5u.com熱心網友回復:
同問,總是最后3個檔案卡住,整晚卡住!ctrl+c很多次,都是一個結果uj5u.com熱心網友回復:
參考下官方檔案試試: https://source.android.google.cn/setup/downloading;可以換成清華大學的鏡像下載原始碼: https://mirrors.tuna.tsinghua.edu.cn/help/AOSP/。
uj5u.com熱心網友回復:
請問您解決了嗎?
uj5u.com熱心網友回復:
應該解決了(事情過得太久了),主題要是git的用法吧。
我記得好像是要轉到一個分支,在設定本地拉取分支就行了,很快。具體命令我找不到了,那個虛擬機我已經洗掉了
轉載請註明出處,本文鏈接:https://www.uj5u.com/yidong/18814.html
標籤:Android
上一篇:android webview 小米華為手機點擊回傳路徑丟失,oppo的正常,怎么解決啊
下一篇:f?要房間里的撒嬌栽
