在fedora 10下载android源码
2011-01-16 12:50
344 查看
1. 安装相关软件
通过yum升级和安装
gnupg flex bison gperf zip curl
2. 安装repo
curl http://android.git.kernel.org/repo >~/repo (但我没有成功,需要把http://删掉)
chmod 777 ~/repo
修改repo的内容git改成http
REPO_URL='http://android.git.kernel.org/tools/repo.git' (但我没有成功,还是用git)
mv repo /usr/bin/
3. init repo 初始化repo
mkdir -P /local/root/android
进入android目录
repo init -u http://android.git.kernel.org/platform/manifest.git
中间过程:
From http://android.git.kernel.org/platform/manifest
* [new tag] android-1.0 -> android-1.0
Your Name [root]:
Your Email [root@flyingqr.localdomain]:
Your identity is:
is this correct [y/n]? y
repo initialized in /local/root/android
这说明本地的版本库已经更新好了
5. 开始下载源码repo sync
如果中间到某一步没有反映了,就Ctrl+C终止,然后repo sync继续,repo支持断点续传
通过yum升级和安装
gnupg flex bison gperf zip curl
2. 安装repo
curl http://android.git.kernel.org/repo >~/repo (但我没有成功,需要把http://删掉)
chmod 777 ~/repo
修改repo的内容git改成http
REPO_URL='http://android.git.kernel.org/tools/repo.git' (但我没有成功,还是用git)
mv repo /usr/bin/
3. init repo 初始化repo
mkdir -P /local/root/android
进入android目录
repo init -u http://android.git.kernel.org/platform/manifest.git
中间过程:
From http://android.git.kernel.org/platform/manifest
* [new tag] android-1.0 -> android-1.0
Your Name [root]:
Your Email [root@flyingqr.localdomain]:
Your identity is:
is this correct [y/n]? y
repo initialized in /local/root/android
这说明本地的版本库已经更新好了
5. 开始下载源码repo sync
如果中间到某一步没有反映了,就Ctrl+C终止,然后repo sync继续,repo支持断点续传
相关文章推荐
- Android中Canvas绘图基础详解(附源码下载)
- ubuntu下载编译android源码(二)
- Windows平台下Android源码的下载
- I.MX6 android 源码下载
- android 源码在线阅读,支持下载
- 使用fedora进行Android源码的编译
- Android 在ubuntu上下载和编译系统源码
- android 源码下载中遇到的问题 repo sync
- Android源码下载和编译总结
- You asked for an OpenJDK 7 build but your----Android源码编译之JDK下载问题
- ubuntu下载android源码
- 2013/10/19 Android最新源码4.3下载-教程
- Android开发(10)使用SQLiteDatabase操作SQLite数据库实现增删改查(源码)
- Ubuntu 16.04 下载和编译android 6 源码
- Ubuntu14.04 下载&&编译 Android 5.1.1源码(采用国内清华大学镜像)
- 国内android源码下载网站
- Windows平台下Android源码的下载