Full-time Android SDK compilation detailed (a)

Source: Internet
Author: User

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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.