如何在 Windows 平台上下載 Android 的源碼

來源:互聯網
上載者:User
如何在 Windows 平台上下載 Android 的源碼?平台, Windows
首先,你先到 http://code.google.com/p/msysgit/downloads/list 上下下載Git-xxx.exe,比如最新版本的是 Git-1.6.3.2-preview20090608.exe。下載後安裝即可,然後到你需要保持源碼的地方,建立一個檔案夾,比如ancroid,右鍵選中檔案夾,選擇“git bash”即可開啟windows上的git命令列,找到你需要下載的git路徑,就可以使用git clone來下載代碼了,比如下載Browsers 的原始碼:git clone git://android.git.kernel.org/platform/packages/apps/Browser.git或git clone git://android.git.kernel.org/platform/external/sqlite.gitPS: 一直有人問要如何在 Windows 中,下載全部的源碼。貌似還沒有什麼好的辦法,除非你寫個指令碼以此下載每個git,不像在linux下可以使用repo以此下載所有的原始碼git,如果您有好辦法,請分享。順帶一提,在SDK的目錄(和android.jar同一層)下建立sources資料夾,然後把myroid/frameworks/base/core/java下面的android資料夾整個拷貝進去就可以直接在ecplise裡面用hyperlink的方式瀏覽source code
eoeAndroid
  • Windows平台Android開發環境搭建

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.