Android Source Code Compilation

Source: Internet
Author: User

Diving for many years, has been in the acquisition of experience from others, now feel that should also share sharing;

Today, finally, I have a personal mutation (in the company, the environment has been well-equipped);


-------------------------Body--------------------------------

Pre

System: UBUNTU 14.0.4

64 guests

Android 4.4.2

----

1, source resources are wall. (Anti-X), it is recommended not to go blind toss, search, domestic resources; I downloaded it from Baidu Network. (Sorry address not saved)

2,JDK needs 1.6 (Oracle) and Baidu Resources

3, after extracting the source code:

1) CD Source directory

1). build/envxxx.sh (Press the TAB key, note the space after the dot)

2) Make:

4, at this time the general will error, according to error to deal with errors;

1) No write permission problem: directly to the source directory recursively add permission to it;

2) then encounter a aidl_langugexxx problem: is a dependent program is not installed;

sudo apt-get install Flex

5, and then ran out smoothly.


---------------END-----------------



No technical content. However, for Android development, the significance is still relatively significant.


Android Source Code Compilation

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.