Android 源码下载与在线查看

来源:互联网 发布:粒子群优化算法实例 编辑:程序博客网 时间:2024/06/06 03:33

参考1:

Windows 下如何Git下载 Android源码

http://www.cnblogs.com/vivid-stanley/archive/2012/05/12/2497088.html

请参考 Windows 下配置android 源码获取环境
 http://yuanzhifei89.iteye.com/blog/1117549

注意里面的提到的源码地址android.git.kernel.org已经不可用,估计Google关闭掉了,应替换成新的https://android.googlesource.com/

很多时候我们并不想下载全部源码,以下是各个子项目的源码(最新,可用地址):

git clone https://android.googlesource.com/device/common.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  

。。。


参考2:

http://source.android.com/source/downloading.html



参考3:

https://android.googlesource.com/   

该网站是Android源码的git版本库。

在这里,既可以下载源码,也可在线查看源码

android Git repositories

To clone one of these repositories, install git, and run:
git clone https://android.googlesource.com/name



参考4:

https://android-review.googlesource.com/#/admin/projects/


参考5:

android:源码在线查看地址


http://androidxref.com/
https://github.com/android
http://code.metager.de/source/xref/android/  (好用)
http://grepcode.com/project/repository.grepcode.com/java/ext/com.google.android/android/






0 0