Android 中 eng 和 user-debug 版本之间的区别 [英] Difference between eng and user-debug build in Android

查看:56
本文介绍了Android 中 eng 和 user-debug 版本之间的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道两个 build_flavor 的可视化之间的区别.

I would like to know the difference between the two build_flavor's viz.

工程&用户调试

eng & user-debug

eng 和用户构建风格之间的差异非常明显.但是 eng 和 user-debug 使我有些困惑.用户调试中没有的 eng 中提供的其他调试工具有哪些?

The difference between eng and user build flavors is quiet evident. But eng and user-debug is confusing me somewhat. What are the additional Debug facilities provided in eng that are not present in user-debug?

例如.

If I take only the Kernel being built:

eng 和 user-debug 版本的调试级别会不同吗?

我面临一个问题,即用户调试版本在 android 手机上启动.但是 eng 构建不是,而 build_flavor 是两个构建之间的唯一区别.

I am facing an issue where the user-debug build is booting up on the android phone. But the eng build is not and the build_flavor is the only difference between the two builds.

感谢任何帮助/指示.谢谢!

Any help/pointers is appreciated. Thanks!

推荐答案

三种构建之间的区别,即.eng、user和user-debug如下:

Well the difference between the three builds viz. eng, user and user-debug is as follows:

eng - 工程版本带有默认的根访问权限.

eng - Engineering build comes with default root access.

user - 用户版本是在生产手机上闪现的版本.没有根访问权限.

user - User build is the one flashed on production phones. Has no root access.

user-debug - 用户调试版本没有默认的 root 访问权限,但可以 root.它还包含额外的日志记录.

user-debug - User debug build does not come with default root access but can be rooted. It also contains extra logging.

这里需要注意的一点是,虽然 eng 构建可能会建议额外的日志记录,但事实并非如此.用户调试将包含最大日志记录,应在开发过程中使用

One thing to note here is although an eng build might suggest extra logging it is not so. The user-debug will contain maximum logging and should be used during development

这篇关于Android 中 eng 和 user-debug 版本之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆