【android】【git】Android原始碼擷取(Windows)

來源:互聯網
上載者:User

http://cuics-100.iteye.com/blog/1208294

 

Android源碼大約有2.1GB,地址:

https://android.googlesource.com/

 

今天想到弄git,主要是因為這片文章,查看/base/core/res/res/values目錄下得style預定義樣式

http://blog.csdn.net/hellogv/article/details/6128594

“建議下載Android的base.git!”----然後我就開始鼓搗了

我用的是GitHub,不是msysgit,我也不知道這兩者什麼區別,哪個好用。

 

前期準備,下載安裝好github,註冊後登陸

1、add一個repository

2、右擊剛剛添加的repository--->open a shell here(我用的bash shell)

3、在shell裡面輸入:

git clone https://android.googlesource.com/platform/frameworks/base.git

然後就開始下載了

 

core檔案夾就是應用的核心代碼!

 

  Linux作業系統的原始碼擷取可參考官網:http://source.android.com/source/downloading.html (還沒試過,所以也就沒有發言權)

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.