Build the android2.2 compiling environment in Ubuntu
1. Install VMware workstation7.0
2. Install strongtn10.04
3. Install JDK. The source code of versions earlier than android must be compiled under jkd1.5. Ubuntn10.0, which comes with JDK 1.6 and does not contain JDK. You need to add the following software source address at the end of/etc/APT/sources. List:
Deb http://cz.archive.ubuntu.com/ubuntu
Hard-Updates main multiverse
Then update sudo apt-Get Update to install the jdk1.5 sudo apt-Get install sun-java5-jdk.
Pay special attention to the address of the update source. This address is often seen on the Internet.
Deb
Http://us.archive.ubuntu.com/ubuntu/ jaunty multiverse
Deb http://us.archive.ubuntu.com/ubuntu/ jaunty-Updates multiverse
The results indicate that they cannot be found and cannot be opened.
4. install other tools and software
# Sudo apt-Get install build-essential
# Sudo apt-Get install zlib1g-de
# Sudo apt-Get install flex
# Sudo apt-Get install libx11-de
# Sudo apt-Get install gperf
# Sudo apt-Get install libncurse
# Sudo apt-Get install bison
5. Install the cross-compilation tool arm-none-linux-gnueabi-arm-2008q3-72-for-linux.tar.bz2 6. Compile the source code.