How can I check out Android source code in Windows OS?

前端 未结 7 1229
没有蜡笔的小新
没有蜡笔的小新 2020-12-04 16:35

I try to search for it but I just cant. I am running Windows 7 on Lenovo G460 laptop. I tried to install Ubuntu on it but I cannot use Wireless to connect to the internet fo

7条回答
  •  一个人的身影
    2020-12-04 17:26

    1) Install Git: http://git-scm.com/

    2) Open Git Bash from Start Menu > Git > Git Bash

    3) In Git Bash window, change current directory to your favorite directory (For example D:\android_src) by following command: cd /d/androidsrc/

    4) In Windows Explorer, create an empty file D:\android_src\download.sh and open it by notepad

    5) Open the following link and copy the code & paste it into D:\android_src\download.sh, then save and close the notepad:

    http://pastebin.com/DfqBFKnK

    6) Execute download shell script in Git Bash window by following command: ./download.sh

    See also: https://android.googlesource.com/

提交回复
热议问题