git clone https://android.googlesource.com/device/common.git
git clone https://android.googlesource.com/device/google/accessory/arduino.git
git clone https://android.googlesource.com/device/google/accessory/demokit.git
git clone https://android.googlesource.com/device/htc/common.git
git clone https://android.googlesource.com/device/htc/dream-sapphire.git
git clone https://android.googlesource.com/device/htc/dream.git
git clone https://android.googlesource.com/device/htc/passion-common.git
git clone https://android.googlesource.com/device/htc/passion.git
git clone https://android.googlesource.com/device/htc/sapphire.git
git clone https://android.googlesource.com/device/sample.git
git clone https://android.googlesource.com/device/samsung/crespo.git
git clone https://android.googlesource.com/device/samsung/crespo4g.git
git clone https://android.googlesource.com/kernel/common.git
git clone https://android.googlesource.com/kernel/experimental.git
git clone https://android.googlesource.com/kernel/linux-2.6.git
git clone https://android.googlesource.com/kernel/lk.git
git clone https://android.googlesource.com/kernel/msm.git
git clone https://android.googlesource.com/kernel/omap.git
git clone https://android.googlesource.com/kernel/qemu.git
git clone https://android.googlesource.com/kernel/samsung.git
git clone https://android.googlesource.com/kernel/tegra.git
git clone https://android.googlesource.com/platform/bionic.git
git clone https://android.googlesource.com/platform/bootable/bootloader/legacy.git
git clone https://android.googlesource.com/platform/bootable/diskinstaller.git
git clone https://android.googlesource.com/platform/bootable/recovery.git
git clone https://android.googlesource.com/platform/bootloader/legacy.git
git clone https://android.googlesource.com/platform/build.git
git clone https://android.googlesource.com/platform/cts.git
git clone https://android.googlesource.com/platform/dalvik.git
git clone https://android.googlesource.com/platform/development.git
git clone https://android.googlesource.com/platform/external/aes.git
git clone https://android.googlesource.com/platform/external/alsa-lib.git
git clone https://android.googlesource.com/platform/external/alsa-utils.git
git clone https://android.googlesource.com/platform/external/apache-http.git
git clone https://android.googlesource.com/platform/external/apache-qp.git
git clone https://android.googlesource.com/platform/external/astl.git
git clone https://android.googlesource.com/platform/external/bison.git
git clone https://android.googlesource.com/platform/external/blktrace.git
git clone https://android.googlesource.com/platform/external/bluetooth/bluez.git
git clone https://android.googlesource.com/platform/external/bluetooth/glib.git
git clone https://android.googlesource.com/platform/external/bluetooth/hcidumb.git
git clone https://android.googlesource.com/platform/external/bluetooth/hcidump.git
git clone https://android.googlesource.com/platform/external/bluez.git
git clone https://android.googlesource.com/platform/external/bouncycastle.git
git clone https://android.googlesource.com/platform/external/bsdiff.git
git clone https://android.googlesource.com/platform/external/bzip2.git
git clone https://android.googlesource.com/platform/external/chromium.git
git clone https://android.googlesource.com/platform/external/clearsilver.git
git clone https://android.googlesource.com/platform/external/dbus.git
git clone https://android.googlesource.com/platform/external/dhcpcd.git
git clone https://android.googlesource.com/platform/external/dnsmasq.git
git clone https://android.googlesource.com/platform/external/dosfstools.git
git clone https://android.googlesource.com/platform/external/dropbear.git
git clone https://android.googlesource.com/platform/external/e2fsprogs.git
git clone https://android.googlesource.com/platform/external/easymock.git
git clone https://android.googlesource.com/platform/external/eglib.git
git clone https://android.googlesource.com/platform/external/elfcopy.git
git clone https://android.googlesource.com/platform/external/elfutils.git
git clone https://android.googlesource.com/platform/external/embunit.git
git clone https://android.googlesource.com/platform/external/emma.git
git clone https://android.googlesource.com/platform/external/esd.git
git clone https://android.googlesource.com/platform/external/expat.git
git clone https://android.googlesource.com/platform/external/fdlibm.git
git clone https://android.googlesource.com/platform/external/freetype.git
git clone https://android.googlesource.com/platform/external/fsck_msdos.git
git clone https://android.googlesource.com/platform/external/gdata.git
git clone https://android.googlesource.com/platform/external/genext2fs.git
git clone https://android.googlesource.com/platform/external/giflib.git
git clone https://android.googlesource.com/platform/external/googleclient.git
git clone https://android.googlesource.com/platform/external/grub.git
git clone https://android.googlesource.com/platform/external/gtest.git
git clone https://android.googlesource.com/platform/external/guava.git
git clone https://android.googlesource.com/platform/external/harfbuzz.git
git clone https://android.googlesource.com/platform/external/hcidump.git
git clone https://android.googlesource.com/platform/external/hyphenation.git
git clone https://android.googlesource.com/platform/external/icu4c.git
git clone https://android.googlesource.com/platform/external/iproute2.git
git clone https://android.googlesource.com/platform/external/ipsec-tools.git
git clone https://android.googlesource.com/platform/external/iptables.git
git clone https://android.googlesource.com/platform/external/jdiff.git
git clone https://android.googlesource.com/platform/external/jhead.git
git clone https://android.googlesource.com/platform/external/jpeg.git
git clone https://android.googlesource.com/platform/external/jsilver.git
git clone https://android.googlesource.com/platform/external/jsr305.git
git clone https://android.googlesource.com/platform/external/junit.git
git clone https://android.googlesource.com/platform/external/kernel-headers.git
git clone https://android.googlesource.com/platform/external/lcc.git
git clone https://android.googlesource.com/platform/external/libffi.git
git clone https://android.googlesource.com/platform/external/libgsm.git
git clone https://android.googlesource.com/platform/external/libnfc-nxp.git
git clone https://android.googlesource.com/platform/external/libpcap.git
git clone https://android.googlesource.com/platform/external/libpng.git
git clone https://android.googlesource.com/platform/external/libvpx.git
git clone https://android.googlesource.com/platform/external/libxml2.git
git clone https://android.googlesource.com/platform/external/libxslt.git
git clone https://android.googlesource.com/platform/external/mtd-utils.git
git clone https://android.googlesource.com/platform/external/mtpd.git
git clone https://android.googlesource.com/platform/external/netcat.git
git clone https://android.googlesource.com/platform/external/netperf.git
git clone https://android.googlesource.com/platform/external/neven.git
git clone https://android.googlesource.com/platform/external/nist-sip.git
git clone https://android.googlesource.com/platform/external/oauth.git
git clone https://android.googlesource.com/platform/external/opencore.git
git clone https://android.googlesource.com/platform/external/openssl.git
git clone https://android.googlesource.com/platform/external/openvpn.git
git clone https://android.googlesource.com/platform/external/oprofile.git
git clone https://android.googlesource.com/platform/external/ping.git
git clone https://android.googlesource.com/platform/external/ppp.git
git clone https://android.googlesource.com/platform/external/proguard.git
git clone https://android.googlesource.com/platform/external/protobuf.git
git clone https://android.googlesource.com/platform/external/qemu-pc-bios.git
git clone https://android.googlesource.com/platform/external/qemu.git
git clone https://android.googlesource.com/platform/external/quake.git
git clone https://android.googlesource.com/platform/external/safe-iop.git
git clone https://android.googlesource.com/platform/external/skia.git
git clone https://android.googlesource.com/platform/external/sonivox.git
git clone https://android.googlesource.com/platform/external/speex.git
git clone https://android.googlesource.com/platform/external/sqlite.git
git clone https://android.googlesource.com/platform/external/srec.git
git clone https://android.googlesource.com/platform/external/stlport.git
git clone https://android.googlesource.com/platform/external/strace.git
git clone https://android.googlesource.com/platform/external/svox.git
git clone https://android.googlesource.com/platform/external/tagsoup.git
git clone https://android.googlesource.com/platform/external/tcpdump.git
git clone https://android.googlesource.com/platform/external/tesseract.git
git clone https://android.googlesource.com/platform/external/tinyxml.git
git clone https://android.googlesource.com/platform/external/tremolo.git
git clone https://android.googlesource.com/platform/external/tremor.git
git clone https://android.googlesource.com/platform/external/v8.git
git clone https://android.googlesource.com/platform/external/webkit.git
git clone https://android.googlesource.com/platform/external/webp.git
git clone https://android.googlesource.com/platform/external/wpa_supplicant.git
git clone https://android.googlesource.com/platform/external/wpa_supplicant_6.git
git clone https://android.googlesource.com/platform/external/xdelta3.git
git clone https://android.googlesource.com/platform/external/xmlwriter.git
git clone https://android.googlesource.com/platform/external/yaffs2.git
git clone https://android.googlesource.com/platform/external/zlib.git
git clone https://android.googlesource.com/platform/frameworks/base.git
git clone https://android.googlesource.com/platform/frameworks/ex.git
git clone https://android.googlesource.com/platform/frameworks/opt/carddav.git
git clone https://android.googlesource.com/platform/frameworks/opt/com.google.android.git
git clone https://android.googlesource.com/platform/frameworks/opt/com.google.android.googlelogin.git
git clone https://android.googlesource.com/platform/frameworks/opt/emoji.git
git clone https://android.googlesource.com/platform/frameworks/policies/base.git
git clone https://android.googlesource.com/platform/hardware/alsa_sound.git
git clone https://android.googlesource.com/platform/hardware/broadcom/wlan.git
git clone https://android.googlesource.com/platform/hardware/htc/dream.git
git clone https://android.googlesource.com/platform/hardware/libhardware.git
git clone https://android.googlesource.com/platform/hardware/libhardware_legacy.git
git clone https://android.googlesource.com/platform/hardware/msm7k.git
git clone https://android.googlesource.com/platform/hardware/qcom/gps.git
git clone https://android.googlesource.com/platform/hardware/qcom/media.git
git clone https://android.googlesource.com/platform/hardware/ril.git
git clone https://android.googlesource.com/platform/hardware/ti/omap3.git
git clone https://android.googlesource.com/platform/hardware/ti/wlan.git
git clone https://android.googlesource.com/platform/libcore.git
git clone https://android.googlesource.com/platform/manifest.git
git clone https://android.googlesource.com/platform/ndk.git
git clone https://android.googlesource.com/platform/packages/apps/AccountsAndSyncSettings.git
git clone https://android.googlesource.com/platform/packages/apps/AlarmClock.git
git clone https://android.googlesource.com/platform/packages/apps/Bluetooth.git
git clone https://android.googlesource.com/platform/packages/apps/Browser.git
git clone https://android.googlesource.com/platform/packages/apps/Calculator.git
git clone https://android.googlesource.com/platform/packages/apps/Calendar.git
git clone https://android.googlesource.com/platform/packages/apps/Camera.git
git clone https://android.googlesource.com/platform/packages/apps/CertInstaller.git
git clone https://android.googlesource.com/platform/packages/apps/Contacts.git
git clone https://android.googlesource.com/platform/packages/apps/DeskClock.git
git clone https://android.googlesource.com/platform/packages/apps/Email.git
git clone https://android.googlesource.com/platform/packages/apps/Gallery.git
git clone https://android.googlesource.com/platform/packages/apps/Gallery3D.git
git clone https://android.googlesource.com/platform/packages/apps/GlobalSearch.git
git clone https://android.googlesource.com/platform/packages/apps/GoogleSearch.git
git clone https://android.googlesource.com/platform/packages/apps/HTMLViewer.git
git clone https://android.googlesource.com/platform/packages/apps/IM.git
git clone https://android.googlesource.com/platform/packages/apps/Launcher.git
git clone https://android.googlesource.com/platform/packages/apps/Launcher2.git
git clone https://android.googlesource.com/platform/packages/apps/Mms.git
git clone https://android.googlesource.com/platform/packages/apps/Music.git
git clone https://android.googlesource.com/platform/packages/apps/Nfc.git
git clone https://android.googlesource.com/platform/packages/apps/OTAProvisioningClient.git
git clone https://android.googlesource.com/platform/packages/apps/PackageInstaller.git
git clone https://android.googlesource.com/platform/packages/apps/Phone.git
git clone https://android.googlesource.com/platform/packages/apps/Protips.git
git clone https://android.googlesource.com/platform/packages/apps/Provision.git
git clone https://android.googlesource.com/platform/packages/apps/QuickSearchBox.git
git clone https://android.googlesource.com/platform/packages/apps/Settings.git
git clone https://android.googlesource.com/platform/packages/apps/SoundRecorder.git
git clone https://android.googlesource.com/platform/packages/apps/SpeechRecorder.git
git clone https://android.googlesource.com/platform/packages/apps/Stk.git
git clone https://android.googlesource.com/platform/packages/apps/Sync.git
git clone https://android.googlesource.com/platform/packages/apps/Tag.git
git clone https://android.googlesource.com/platform/packages/apps/Updater.git
git clone https://android.googlesource.com/platform/packages/apps/VoiceDialer.git
git clone https://android.googlesource.com/platform/packages/experimental.git
git clone https://android.googlesource.com/platform/packages/inputmethods/LatinIME.git
git clone https://android.googlesource.com/platform/packages/inputmethods/OpenWnn.git
git clone https://android.googlesource.com/platform/packages/inputmethods/PinyinIME.git
git clone https://android.googlesource.com/platform/packages/providers/ApplicationsProvider.git
git clone https://android.googlesource.com/platform/packages/providers/CalendarProvider.git
git clone https://android.googlesource.com/platform/packages/providers/ContactsProvider.git
git clone https://android.googlesource.com/platform/packages/providers/DownloadProvider.git
git clone https://android.googlesource.com/platform/packages/providers/DrmProvider.git
git clone https://android.googlesource.com/platform/packages/providers/GoogleContactsProvider.git
git clone https://android.googlesource.com/platform/packages/providers/GoogleSubscribedFeedsProvider.git
git clone https://android.googlesource.com/platform/packages/providers/ImProvider.git
git clone https://android.googlesource.com/platform/packages/providers/ManagementProvider.git
git clone https://android.googlesource.com/platform/packages/providers/MediaProvider.git
git clone https://android.googlesource.com/platform/packages/providers/TelephonyProvider.git
git clone https://android.googlesource.com/platform/packages/providers/UserDictionaryProvider.git
git clone https://android.googlesource.com/platform/packages/providers/WebSearchProvider.git
git clone https://android.googlesource.com/platform/packages/services/EasService.git
git clone https://android.googlesource.com/platform/packages/services/LockAndWipe.git
git clone https://android.googlesource.com/platform/packages/wallpapers/Basic.git
git clone https://android.googlesource.com/platform/packages/wallpapers/LivePicker.git
git clone https://android.googlesource.com/platform/packages/wallpapers/MagicSmoke.git
git clone https://android.googlesource.com/platform/packages/wallpapers/MusicVisualization.git
git clone https://android.googlesource.com/platform/prebuilt.git
git clone https://android.googlesource.com/platform/recovery.git
git clone https://android.googlesource.com/platform/sdk.git
git clone https://android.googlesource.com/platform/system/bluetooth.git
git clone https://android.googlesource.com/platform/system/core.git
git clone https://android.googlesource.com/platform/system/extras.git
git clone https://android.googlesource.com/platform/system/media.git
git clone https://android.googlesource.com/platform/system/netd.git
git clone https://android.googlesource.com/platform/system/vold.git
git clone https://android.googlesource.com/platform/system/wlan/broadcom.git
git clone https://android.googlesource.com/platform/system/wlan/ti.git
git clone https://android.googlesource.com/platform/tools/tradefederation.git
git clone https://android.googlesource.com/platform/vendor/aosp.git
git clone https://android.googlesource.com/platform/vendor/asus/eee_701.git
git clone https://android.googlesource.com/platform/vendor/csr/unifi-105x.git
git clone https://android.googlesource.com/platform/vendor/csr/unifi-60xx.git
git clone https://android.googlesource.com/platform/vendor/htc/common-open.git
git clone https://android.googlesource.com/platform/vendor/htc/dream-open.git
git clone https://android.googlesource.com/platform/vendor/htc/prebuilt-open.git
git clone https://android.googlesource.com/platform/vendor/htc/sapphire-open.git
git clone https://android.googlesource.com/platform/vendor/pv-open.git
git clone https://android.googlesource.com/platform/vendor/qcom/android-open.git
git clone https://android.googlesource.com/platform/vendor/qcom/proprietary-open.git
git clone https://android.googlesource.com/platform/vendor/qcom/surf.git
git clone https://android.googlesource.com/platform/vendor/renesas/ms7724.git
git clone https://android.googlesource.com/platform/vendor/sample.git
git clone https://android.googlesource.com/platform/vendor/st-ericsson/u300.git
git clone https://android.googlesource.com/toolchain/benchmark.git
git clone https://android.googlesource.com/toolchain/binutils.git
git clone https://android.googlesource.com/toolchain/build.git
git clone https://android.googlesource.com/toolchain/gcc.git
git clone https://android.googlesource.com/toolchain/gdb.git
git clone https://android.googlesource.com/toolchain/gmp.git
git clone https://android.googlesource.com/toolchain/gold.git
git clone https://android.googlesource.com/toolchain/manifest.git
git clone https://android.googlesource.com/toolchain/mpc.git
git clone https://android.googlesource.com/toolchain/mpfr.git
git clone https://android.googlesource.com/tools/android-issuetrackerredirect.git
git clone https://android.googlesource.com/tools/executablewar.git
git clone https://android.googlesource.com/tools/gerrit-contactstore.git
git clone https://android.googlesource.com/tools/gerrit-keyapplet.git
git clone https://android.googlesource.com/tools/gerrit.git
git clone https://android.googlesource.com/tools/gimd.git
git clone https://android.googlesource.com/tools/gwtexpui.git
git clone https://android.googlesource.com/tools/gwtjsonrpc.git
git clone https://android.googlesource.com/tools/gwtorm.git
git clone https://android.googlesource.com/tools/manifest.git
git clone https://android.googlesource.com/tools/protobuf.git
git clone https://android.googlesource.com/tools/repo.git
git clone https://android.googlesource.com/tools/test/manifest.git
git clone https://android.googlesource.com/tools/test/project0.git
下载方式
Git:
Git 是用于 Linux 内核开发的版本控制工具。与常用的版本控制工具 CVS, Subversion
等不同,它采用了分布式版本库的方式,不必服务器端软件支持,使源代码的发布和交流极其方便。 Git 的速度很快,这对于诸如 Linux
kernel 这样的大项目来说自然很重要。 Git 最为出色的是它的合并跟踪(merge tracing)能力。
而Google Android的项目是基于Git进行版本管理的,所以经常在Linux环境下开发的人,就不用我多说了,而大都数在Windows环境开发的人,就比较陌生了。那下面我就手把手教你如何在Windows环境下Git Android源码。
第一步:Msysgit工具的下载(这个是Google为Windows环境下开发的Git客户端程序):
http://code.google.com/p/msysgit/ 下载地址如图:
第二步:安装Msysgit软件(一直默认到底),如下图:
第三步:建立一个文件夹用来存放Git下来的Android 源码(我这里以G:/Android Src)为例,如下图:
第四步:右击Android Src文件夹选择Git Bash出现如下图所示:
第五步:查找我们要下载源代码的地址。Android的源代码是放在下面地址下:
http://android.git.kernel.org/
这里以Launcher为例,我们Ctrl + F查找:输入Launcher如下图所示:
点击链接进入另一个页面:
第六步在Git Bash端输入如下命令,命令格式(如上图图示)
git clone git://android.git.kernel.org/platform/packages/apps/Launcher.git
在Receiving Objects: 100%时候,我们在G:/Android Src/文件夹下多一个工程Launcher,这正是我们所要的,如下图所示:
Ok通过以上的步骤我们就把Android Launcher的源代码拿到手了,下面就剩下你研究了!
原文地址:http://blog.csdn.net/asdwangxizh/article/details/8535524