免费视频淫片aa毛片_日韩高清在线亚洲专区vr_日韩大片免费观看视频播放_亚洲欧美国产精品完整版

打開(kāi)APP
userphoto
未登錄

開(kāi)通VIP,暢享免費(fèi)電子書(shū)等14項(xiàng)超值服

開(kāi)通VIP
android源碼下載詳解

android源碼下載方式:

方式一:

repo init -u git://android.git.kernel.org/platform/manifest.git

repo sync

這是官方提供的下載方式,但最近使用這種方式出現(xiàn)網(wǎng)絡(luò)連接超時(shí),據(jù)說(shuō)是被hack掉了

同時(shí),注意到kernel源碼網(wǎng)站卻依然能夠訪問(wèn):http://android.git.kernel.org/kernel/

于是,使用git方式下載: git clone http://android.git.kernel.org/kernel/common.git

最后,成功了

詳見(jiàn)博客:android.git.kernel.org[0: 199.6.1.173]: errno=Connection refused


方式二:

把方式一的下載命令中的git修改為http(配置文件需一并修改),則可以順利下載源碼

具體修改步驟如下:

 

 

 

 

 

 

步驟1. 編輯/home/username/bin/repo文件

-  REPO_URL='git://android.git.kernel.org/tools/repo.git' 

+ REPO_URL='http://android.git.kernel.org/tools/repo.git'

步驟2. 運(yùn)行新的命令

$ repo  init  -u  http://android.git.kernel.org/platform/manifest.git

步驟3. 修改文件.repo/manifests/default.xml

將   fetch="git://android.git.kernel.org/"

改成fetch="http://android.git.kernel.org/"

步驟4. 運(yùn)行命令

repo sync

成功?。。?/span>



git使用推薦:

linux git命令參數(shù)及用法詳解--版本控制工具

Version Control with Repo and Git

Git 常用命令

本站僅提供存儲(chǔ)服務(wù),所有內(nèi)容均由用戶(hù)發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)點(diǎn)擊舉報(bào)
打開(kāi)APP,閱讀全文并永久保存 查看更多類(lèi)似文章
猜你喜歡
類(lèi)似文章
git獲取Android源碼,可以斷點(diǎn)續(xù)傳
Android SDK源碼安裝教程
Android系統(tǒng)定制之源碼完美下載(一)
android2.3.3下載 編譯
Android源碼下載——用git clone實(shí)現(xiàn)單個(gè)目錄下載
新方法下載代碼curl: (6) Couldn't resolve host 'android.git.kernel.org'
更多類(lèi)似文章 >>
生活服務(wù)
分享 收藏 導(dǎo)長(zhǎng)圖 關(guān)注 下載文章
綁定賬號(hào)成功
后續(xù)可登錄賬號(hào)暢享VIP特權(quán)!
如果VIP功能使用有故障,
可點(diǎn)擊這里聯(lián)系客服!

聯(lián)系客服