Tips for troubleshooting Android compilation errors

Source: Internet
Author: User

When compiling Android, we often command

Make Flashfiles-j8

-J8 represents 8 threads of the system to compile

However, the log will be printed directly in the standard output, will not be full, and because it is 8 threads, it will cause the order of log is chaotic

So when we compile once (most of the files have been compiled, the next compilation will skip, saving most of the time)

Choose the following command to compile better:

Nohup make Flashfiles-j1

Log is stored in the "nohup" file in the current directory, and the-J1 parameter specifies that only 1 threads are compiled, and the log order is not chaotic, so that we can troubleshoot compilation errors.

Add:

In general, we need to look at the error message in the log, if the steps are correct, the general error is a lack of dependency, so that we have nothing to install what.

Tips for troubleshooting Android compilation errors

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.