Android source code Engineering environment Building

Source: Internet
Author: User

Android applications can be developed in two environments, one in the Android SDK environment, typically integrated in eclipse development, and the other in the Android source code engineering environment, The benefit of developing in this environment is that you can use some interfaces that are not exposed in the SDK. But if we want to modify the source code of the Android system, or add a new feature interface to the Android system, it can only be done in the Android source code engineering environment. Since our aim is to analyze the source code of the Android system, we are also in the Android source code environment when developing Android applications. In this way, we need to build a set of Android source code engineering environment.

Currently, the Android source engineering environment can only be used on Linux platforms, and the distribution of Linux systems is much more, here we recommend Ubuntu System. Ubuntu system is free, and very easy to use, install and update the application is also very convenient, its official: http://www.ubuntu.com/

After installing the Ubuntu system, we can download, compile and install the Android source code, the specific methods and procedures can refer to the following article: download, compile and install Android latest source code on Ubuntu

Android system source code works by default does not contain the Linux kernel source, if we need to modify the Android kernel or add new modules inside, then the Android kernel source code to download, compile and install, Specific methods and procedures can refer to the following article: download, compile and install Android latest kernel source code (Linux Kernel) on Ubuntu

After the Android source code engineering environment is set up, we can develop new applications or modify the system code in it. Add a new application or modify the system's code, do not need to recompile the entire source code project, as long as the separate compilation of the modified module can be, the specific method can refer to the following article: How to compile the module in the Android source code separately

For an already developed application or system function, if you want to show the demo to the customer experience, we can either run on the real machine, or in the emulator (Android source code engineering environment or the Android SDK environment is integrated emulator) above the run. When we do not have a real machine on hand, and we do not want to bring the entire Android source engineering environment or the Android SDK environment to show our demo, we can consider the two environments to separate the simulator, The specific method can be referred to the following article: production of independent distribution of the Android simulator

Android source code Engineering environment Building

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.