文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>Android 源代码的获取

Android 源代码的获取

时间:2009-05-08  来源:stonewuu

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版本
相关阅读 更多 +
排行榜 更多 +
味子夫

味子夫

购物比价 下载
恩猫

恩猫

购物比价 下载
街头纷争

街头纷争

动作格斗 下载