最终用户使用logcat会看到什么日志?

问题描述

我的Android应用程序中有很多Log.d(),当最终用户将手机连接到计算机时,他们能够使用logcat看到这些日志吗?还是在发布版本中剥离这些日志?

解决方法

通常的方法是登录。

您可以使用木材或参考此方法

https://stackoverrun.com/ko/q/2720163

,

对于发行版,用户将无法使用logcat查看日志,因为在android:debuggable标签内的清单中,发行版false的值设置为<application>。告知是否可以调试应用程序。

,

开发者必须在发布应用之前删除android日志。

查看有关此操作的信息。 How to remove all debug logging calls before building the release version of an Android app?

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...