很久没玩过Android的源码了,决定下个最新的4.0回来看看,但是notebook最新装的是Fedora16的系统,发现有些地方和以前旧版本的要求不一样,下面就一点一点记录下来,免得以后忘记吧,呵呵
1. JDK 6
下载完之后chmod再运行安装
2. 最新的android源码要求make的版本为3.81, make 3.82的版本貌似有些兼容性的问题,试了下需要做些手脚才能顺利地downgrade回旧的版本
运行命令
sudo yum downgrade make --releasever=13
结果出现错误提示
==================================================================================================================================================== Package Arch Version Repository Size =================================================================================================================================================== Downgrading: make i686 1:3.81-19.fc13 updates 385 k Transaction Summary ==================================================================================================================================================== Downgrade 1 Package Total size: 385 k Is this ok [y/N]: y Downloading Packages: warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID e8e40fde: NOKEY Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386 The GPG keys listed for the "Fedora 13 - i386 - Updates" repository are already installed but they are not correct for this package. Check that the correct key URLs are configured for this repository.