An app in android can be compiled separately.

Source: Internet
Author: User
An application in AndroidProgramYou can compile it separately. After compilation, You need to regenerate system. IMG and execute. Build in the source code directory. / Envsetup. Sh (. is followed by a space), there are more commands: - Croot: Changes directory to the top of the tree. - M: makes from the top of the tree. - MM: builds all of the modules in the current directory. - Mmm: builds all of the modules in the supplied directories. -Cgrep: greps on all local C/C ++ Files. - Jgrep: greps on all local java files. -Resgrep: greps on all local res/*  . XML files. -godir: Go to the directory containing a file. you can add-help to view usage. We can use Mmm to compile the module of the specified directory, for example, compile the contact: # Mmm packages/apps/contacts/or # Make contacts to generate two files after compilation: out/target/product/generic/data/APP/contactstests.apk out/target/product/generic/system/APP/contacts.apk you can use "make Snod" to regenerate the system. IMG re-run the simulator 
Related Article

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.