1. Compiling the Environment description
Linux Server (any computer can, recommended to choose a high configuration) to install Ubuntu 10.04 as a compiled host, other developers under XP, through the Ssh/telent and other protocols to log on to the Linux host for compilation.
2. Installing the JDK
sudo tar–jxvf jdk1.6.0_26.tar.bz2
Set environment variables after installation to let Android find this path, open/ETC/BASH.BASHRC with vim, add the following statement:
Export java_home=/home/yanfa/android/jdk1.6.0_26
Export android_java_home=$ Java_home
Export path= $JAVA _home/bin: $PATH
To modify the path "/home/yanfa/android/jdk1.6.0_26" according to the actual situation, save exit.
Enter the following instructions if the relevant JDK version information appears to prove successful
3. Install other necessary tool software
Sudo apt-get install buid-essential
sudo apt-get install zlib1g-dev
sudo apt-get install flex
sudo apt-get Install Libx11-dev
sudo apt-get install gperf
sudo apt-get install libncurses5-dev
sudo apt-get install bison
sudo apt-get install git-core
sudo apt-get install gnupg
sudo apt-get install libsdl-dev
sudo apt-get Inst All Libsd0-dev
sudo apt-get install Libwxgtk2.6-dev
sudo apt-get install zip
sudo apt-get Install Curl
sudo apt-get install Valgrind
sudo apt-get install ncurses
sudo apt-get install Gcc-multilib
sudo apt-get install G++-multilib
sudo apt-get install Lib32ncurses5-dev
sudo apt-get install Ia32-libs
sudo apt-get install X11proto-core-dev
sudo apt-get install Libx11-dev
sudo apt-get install Lib32readline5-dev
sudo apt-get install Lib32z-dev
sudo apt-get install Java-common
sudo apt-get install Unixodbc
sudo apt-get install Kernel-package
sudo apt-get install build-essential
sudo apt-get install libqt3-headers
sudo apt-get install LIBQT3-MT
sudo apt-get install Libqt3-mt-dev
sudo apt-get install libqt3-compat-headers
4. Full-chi Android system compilation can be divided into two parts: Linux kernel compilation (Lichee), and the other is Android source code compilation
~shenbao-new/wifi_ddr128x16_shenbao#
| --Android---android source code
| --Lichee---linux kernel
| |--BuildRoot
| ...........
| |--build.sh
| |--linux-3.0
| |--out---The directory where the image files are generated, the compilation will generate this directory successfully
Full-time Android SDK compilation detailed (a)