Android2.3.5-Based System: Cross-compiling tool between Android and Linux [2]

Source: Internet
Author: User

**************************************** **************************************** **************************************** ***
Author: EasyWave time: 2013.01.27

Category: Android source code analysis series Declaration: reprinted, please keep the link

NOTE: If any error occurs, please correct it. These are my Learning Log articles ......

**************************************** **************************************** **************************************** ***

I. Compilation of the Android System

Because I directly download the source code of Andriod2.3.4 under Fei Ling's 6410 from the Internet, and this version has the advantage that it also places jdk21.6.0 _ 23 under the android source code, therefore, you do not need to install Java JDK again. If you are developing Android applications in Linux, it is better to install it. Because I only compile the Andriod System and the Linux system here, there is not much to do with it, as shown in:

JDK1.6.0 _ 23 has been put under the Android source code, and a build_android.sh script file has been provided, so that we can easily compile the entire Android system. I compiled the Android system, it took a total of four hours, because I didn't use commands like mak-j2, so it took a long time. The build_andriod.sh file is as follows:

Have you seen it ,. setenv note that there are spaces in the middle. What does this mean? It is very simple. It is equivalent to source setenv. When you see the export, the java path will be set at each compilation, continue to check the content of the setenv file, as shown below:

In fact, the build/envsetup. sh file will be run in the end. The specific meaning is not described here. After compilation, the out folder is displayed. As follows:

After seeing this content, we can basically say that the compilation was successful. We can use android2.3.4 for the time being. Andriod2.3.5 has not been transplanted yet. However, the difference between Andriod2.3.5 and Android2.3.4 is not great.

Related Article

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.