Android compilation Options The difference between Eng, user, Userdebug

Source: Internet
Author: User

Android Compilation Options The difference between Eng, user, UserdebugCategory: Technology Android2013-09-02 11:33 5210 People read comments (0) favorite reports

Eng:debug version

User:release version

Userdebug version: Partial debug version

To understand the differences between the Android compilation options Eng, user, and Userdebug, you need to understand the configuration items in the Android.mk file under Local_module_tags, and the general configuration is local_module_tags: = user    Eng Optional Test this way. So what's the effect of setting Local_module_tags to different values? The following are the results of the compilation of different values: 1, User: Only in the user version of the module is compiled into; 2, Eng: Only in the Eng version of the module is compiled, 3, test: Only in the tests version of the module is compiled in; 4, Optional: All versions are compiled with this module in.
     The values can be set to 1 or more, respectively, corresponding to the same or multiple compilation options. So what is the difference between Eng, user, Userdebug? The next one by one uncovered:     1, when make Eng, is equivalent to make. At this point BuildType is Eng, then the contents of the compilation include:        Intended for Platform-level debugging       Installs modules tagged With:eng, debug, user, and/or development       Installs NON-APK modules that has no tags specified       Installs APKs according to the product definition files, with addition to tagged apks       Sets ro.secure=1       Sets ro.debuggable=0       Sets ro.kernel.android.checkjni=1       ADBD is enabled by DEFAULT    2, when make user, this time buildtype is user, then the content that it compiles includes:        Intended to be the final release       Installs Modules TaggEd as user       Installs NON-APK modules that has no tags specified       Installs APKs according to the product definition files (tags is ignored for APK modules)      &N bsp; Sets ro.secure=1       Sets ro.debuggable=0       ADBD is disabled by default    3, when make userdebug, at this time BuildType is Userdebug, then its compiled content includes:        the same as user, except:       Intended for limited debugging       Installs modules tagged with debug       Sets ro.debuggable=1       ADBD is enabled by default      reference URL: http://hi.baidu.com/aokikyon/item/ 194b9bd9a6188ef593a9740e               http://www.rosoo.net/a/201108/14878.html               http://www.cnblogs.com/mr-raptor/archive/2012/06/07/2540359.html

Android compilation options Eng, user, Userdebug differences

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.