Compile Android2.2 on Fedora13 and go to the official website to make preparations as prompted. Source.android.com/source/download.htmlsource code 2.1g. Add the remaining 6 g's space in the compiled file. The faster the CPU memory, the better. If the requirement in the virtual machine is higher, the CPU frequency is less than 2 GB, and the memory is less than 2 GB, it is estimated that it will be more painful. The official website only downloads and compiles Ubuntu source code. For more information about the preparations, see. $ Su: Before compiling Android 2.2 in Fedora 13, go to the official website to make some preparations as prompted.
Source.android.com/source/download.html
The source code is 2.1 GB, and the size of the compiled file is about 6 GB. The faster the CPU memory, the better. If the requirement in the virtual machine is higher, the CPU frequency is less than 2 GB, and the memory is less than 2 GB, it is estimated that it will be more painful.
The official website only downloads and compiles Ubuntu source code. For more information about the preparations, see.
$Sudo apt-get install git-core gnupg flex bison gperf build-essential zip curlSun-java5-jdk
Zlib1g-dev Gcc-multilib g ++-multilib libc6-dev-i386 lib32ncurses5-dev ia32-libs x11proto-core-dev libx11-dev lib32readline5-dev lib32z-dev
These are the software packages to be installed in advance. Among them, the sun-java5-jdk to change to the latest JDK 6, other self-check with yum. Some of the yum sources of Fedora do not exist, and some names are different from those of ubuntu. If the above items can be found, it is better to install the corresponding Fedora name in advance. If they cannot be found, they will not be afraid. It will be a pain point in the future, in make, find out what is missing in your system based on the error message.
JDK 5 is not supported on the official website.
JDK 5.0, update 12 or higher. Java 6 is not supported, because of incompatibilities with @ Override.
Ignore it, it should be said that Android2.1, I downloaded version August of the source code in early 2.2 to use JDK 6 for compilation.
However, in fact, JDK 6 compilation is forced to use a 64-bit system. The solution of a 32-bit system is later.
- Python 2.4, which you can download from python.org.
- JDK 5.0, update 12 or higher, which you can download from java.sun.com. Java 6 is not supported, because of incompatibilities with @ Override.
- Git 1.5.4 or newer. You can find it at http://git.or.cz /.
This is the official website's requirements for linux releases other than ubuntu, and both of them must be met. Python is usually installed with a system. If not, yum is easier to obtain. Git should go to the above address to download.
You can download and install the RPM package. The downloaded source code is compiled and installed. Make also remembers some errors. Just add the missing yum as prompted.