- 论坛徽章:
- 0
|
Android 源代码的获取详细过程你可以参考这里:
http://source.android.com/download
http://source.android.com/download/using-repo
大多数情况下,我们只关注于如何取到源代码,至于git,repo的详细命令及格式我们无需关心。我常用的linux版本是forda 7,下面是征对FC7取android source的几个简要步聚。
1、安装git
http://www.kernel.org/pub/software/scm/git/RPMS/i386/
从这里获取1.5.4或以上版本.编译安装
2、 yum install curl
Yum install gperf
不安装gperf时编译android工程时会出错。
3、安装repo
curl http://android.git.kernel.org/repo >/bin/repo
Chmod 775 /bin/repo
4、mkdir android && cd android
repo init -u git://android.git.kernel.org/platform/manifest.git -b cupcake
进行相关设置后即可取出android当前cupcake版本
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u3/96238/showart_1922016.html |
|