编译Android源码
网址:http://www.since2006.com/blog/187
Android源码下载和编译方法:http://source.android.com/download
在编译过程中,碰到的一些问题,记录下以后重装系统时参考。
运行:
运行:
在编译过程中,碰到的一些问题,记录下以后重装系统时参考。
运行:
repo init -u git://android.git.kernel.org/platform/manifest.git报错:
DeprecationWarning: the md5 module is deprecated; use hashlib instead import md5python高版本(2.6)引起的问题,改变了API接口。使用2.5或2.4版本python即可解决。
rm /usr/bin/python
ln -s /usr/bin/python2.5 /usr/bin/python
运行:
repo init -u git://android.git.kernel.org/platform/manifest.git报错:
error.GitError: manifests rev-list ('^refs/remotes/origin/master', 'HEAD'): fatal: Not a git repository删除父目录下.repo即可(有一种说法是当前目录下,俺机器上是父目录才有这文件)
cd ..
rm -rf .repo

本文相关评论|Comments
imiyoo 发布了如上评论 | Jul 16, 2010