Finally successfully compiled and run the Android source code to summarize the problems encountered

Source: Internet
Author: User

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

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.