(转)Android 编译选项user、u…

来源:互联网 发布:c语言eof的用法 编辑:程序博客网 时间:2024/06/11 15:49

BuildType specifies the intended use (security restrictions)

* 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 (tagsare ignored for APK modules)

· Sets ro.secure=1

· Sets ro.debuggable=0

· adbd is disabled by default (i.e. has to be enabled viaSettings ! Applications ! Development ! USB

Debugging)

* userdebug - the same as user, except:

· Intended for limited debugging

· Installs modules tagged with debug

· Sets ro.debuggable=1

· adbd is enabled by default

* eng

· Intended for platform-level debugging

· Installs modules tagged with: eng, debug, user, and/ordevelopment

· Installs non-APK modules that have no tags specified

· Installs APKs according to the product definition files, inaddition to tagged APKs

· Sets ro.secure=1

· Sets ro.debuggable=0

· Sets ro.kernel.android.checkjni=1

· adbd is enabled by default

0 0