Android编译选项eng、user、userdebug的区别
16lz
2022-06-07
eng:debug 版本
user: release 版本
userDebug版本:部分debug版本
其中的值可设置为1个或多个,分别对应编译选项的同一个或多个。那么eng、user、userdebug的区别是什么呢?接下来一一揭开: 1、当make eng时,也即相当于make。此时BuildType为eng,那么其编译进去的内容包括: · Intended for platform-level debugging · Installs modules tagged with: eng, debug, user, and/or development · Installs non-APK modules that have no tags specified · Installs APKs according to the product definition files, in addition to tagged APKs · Sets ro.secure=1 · Sets ro.debuggable=0 · Sets ro.kernel.android.checkjni=1 · adbd is enabled by default 2、当make user时,此时BuildType为user, 那么其编译进去的内容包括: · Intended to be the final release · Installs modules tagged as user · Installs non-APK modules that have no tags specified · Installs APKs according to the product definition files (tags are ignored for APK modules) · Sets ro.secure=1 · Sets ro.debuggable=0 · adbd is disabled by default 3、当make userdebug时, 此时BuildType为userdebug, 那么其编译进去的内容包括: the same as user, except: · Intended for limited debugging · Installs modules tagged with debug · Sets ro.debuggable=1 · adbd is enabled by default 参考网址: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(安卓)Launcher研究(一)-----------图文详解手把手教你在
- Android开发者指南(10) —— Android(安卓)API Levels
- Android(安卓)开发上奇怪的问题
- Android(安卓)NDK开发之Hello world篇
- Android(安卓)7+的一些报错
- AndroidStudio 设置signingConfigs让编译也能使用正式签名
- 理解 Android(安卓)Build 系统
- Android动态污点分析工具TaintDroid部署指南 - FloraF
- Android检测版本更新