简体   繁体   English

华为Android Logcat没有显示日志

[英]Huawei Android Logcat not showing logs

All the existing solutions I found online recommend doing the following: https://www.xda-developers.com/huawei-phones-disable-logcat-heres-how-to-restore-access/ 我在网上找到的所有现有解决方案都建议您执行以下操作: https//www.xda-developers.com/huawei-phones-disable-logcat-heres-how-to-restore-access/

However, on my phone, when I press on LOG settings, it brings me to this "MTKlogger" screen, which corresponds to nothing I've seen online. 但是,在我的手机上,当我按下LOG设置时,它会将我带到这个“MTKlogger”屏幕,这对应于我在网上看到的任何内容。 I am using Huawei enjoy 5 (TIT-AL00). 我正在使用华为享受5(TIT-AL00)。

Check this answer to make sure it isnot disabled in your FW/ROM. 检查此答案以确保您的FW / ROM中未禁用它。 If so you can try with: 如果是这样,您可以尝试:

$ su
# setprop logcat.live=enable

If that doesn't work, you'd need to flash a new /system/build.prop file. 如果这不起作用,则需要刷新一个新的/system/build.prop文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM