Eng和用户挑选之间的差异在Android中构建



我想知道两个 build_flavor的viz之间的区别。

eng&用户调查

ENG和用户构建口味之间的区别是安静的。但是,Eng和用户挑战使我有些困惑。ENG中提供了哪些其他调试设施?

中不存在

例如。

If I take only the Kernel being built:

Will the Debugging levels differ for the eng and user-debug builds?

我正面临一个问题,即用户启动构建正在Android手机上启动。但是ENG构建不是,并且build_flavor是两个构建之间的唯一区别。

任何帮助/指针都将不胜感激。谢谢!

eng:这是默认味道。平原的制造与Make Eng。

- 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.
- ro.secure=0
- ro.debuggable=1
- ro.kernel.android.checkjni=1
- adb is enabled by default. 

用户:让用户

这是旨在成为最终版本位的风味。

- Installs modules tagged with user.
- 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
- adb is disabled by default.

用户debug:使UserDebug

与用户相同,除了:

Also installs modules tagged with debug.
- ro.debuggable=1
- adb is enabled by default. 

文档:https://source.android.com/source/add-device.html#build-variants

这三个构建之间的差异很好。Eng,用户和用户访问如下:

ENG - 工程构建带有默认的根访问。

用户 - 用户构建是在生产手机上闪烁的。没有根访问。

用户debug - 用户调试构建不带默认的根访问,但可以植根。它还包含额外的记录。

这里要注意的一件事是,尽管ENG构建可能建议额外的记录,事实并非如此。用户调查将包含最大记录,应在开发过程中使用

最新更新