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