userdebug和user版本的区别
答案:1 悬赏:20 手机版
解决时间 2021-03-19 01:27
- 提问者网友:沦陷
- 2021-03-18 21:11
userdebug和user版本的区别
最佳答案
- 五星知识达人网友:旧脸谱
- 2021-03-18 22:22
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 taggedAPKs
·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 forAPK modules)
·Sets ro.secure=1
·Sets ro.debuggable=0
·adbd is disabled by default
3、当make userdebug时,此时BuildType为userdebug,那么其编译进去的内容包括:
thesame as user, except:
·Intended for limited debugging
·Installs modules tagged with debug
·Sets ro.debuggable=1
·adbd is enabled by default
3、表格:
eng
This is the default flavor. A plain "make" is the same as "make eng".droidis an alias foreng.
· 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, in addition to tagged APKs.
·ro.secure=0
·ro.debuggable=1
·ro.kernel.android.checkjni=1
·adbis enabled by default.
user
"make user"
This is the flavor intended to be the final release bits.
· Installs modules tagged withuser.
· Installs non-APK modules that have no tags specified.
· Installs APKs according to the product definition files; tags are ignored for APK modules.
·ro.secure=1
·ro.debuggable=0
·adbis disabled by default.
userdebug
"make userdebug"
The same asuser, except:
· Also installs modules tagged withdebug.
·ro.debuggable=1
·adbis enabled by default.
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 taggedAPKs
·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 forAPK modules)
·Sets ro.secure=1
·Sets ro.debuggable=0
·adbd is disabled by default
3、当make userdebug时,此时BuildType为userdebug,那么其编译进去的内容包括:
thesame as user, except:
·Intended for limited debugging
·Installs modules tagged with debug
·Sets ro.debuggable=1
·adbd is enabled by default
3、表格:
eng
This is the default flavor. A plain "make" is the same as "make eng".droidis an alias foreng.
· 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, in addition to tagged APKs.
·ro.secure=0
·ro.debuggable=1
·ro.kernel.android.checkjni=1
·adbis enabled by default.
user
"make user"
This is the flavor intended to be the final release bits.
· Installs modules tagged withuser.
· Installs non-APK modules that have no tags specified.
· Installs APKs according to the product definition files; tags are ignored for APK modules.
·ro.secure=1
·ro.debuggable=0
·adbis disabled by default.
userdebug
"make userdebug"
The same asuser, except:
· Also installs modules tagged withdebug.
·ro.debuggable=1
·adbis enabled by default.
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯