Android source code is very difficult to compile, a few months ago I have compiled but encountered a variety of problems, it may be the use of ubuntu12.04 reasons, this time the download and compilation are very smooth. Ubuntu uses 14.04 to pre-download the hosts settings before downloading. Laod.cn/hosts/2015-google-hosts.html This buddy of the hosts throughout the/etc/hosts file, the use of school campus network download, do not know with other nets will not problem, last download a variety of inaccessible.
Compile time also very smooth, directly compiled out, I think with the system version has a very big relationship.
There is a problem is that I did not compile after the emulator, run emulator unexpectedly did not respond, later only to know is because I chose the reason for the lunch, I re-compiled a bit, this choice of 1, this is the simulator, the success of the run.
After the terminal shuts down, run emulator directly, you need to rerun the/build/envsetup.sh and lunch select the previously compiled version
The whole process was carried out in accordance with the http://blog.csdn.net/gobitan/article/details/24367439 blog post.
Finally successfully compiled and run the Android source code to summarize the problems encountered