android - 华为 Android Logcat 不显示日志

标签 android android-logcat huawei-mobile-services

我在网上找到的所有现有解决方案都建议执行以下操作: https://www.xda-developers.com/huawei-phones-disable-logcat-heres-how-to-restore-access/

但是,在我的手机上,当我按下 LOG 设置时,它会将我带到这个“MTKlogger”屏幕,这与我在网上看到的任何内容都不相符。我用的是华为畅享5(TIT-AL00)。

最佳答案

检查 this answer确保它未在您的 FW/ROM 中禁用。如果是这样,您可以尝试:

$ su
# setprop logcat.live=enable

如果这不起作用,您需要刷新一个新的 /system/build.prop 文件。

关于android - 华为 Android Logcat 不显示日志,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40876549/

相关文章:

Android: ADT 无法识别 Nougat logcat 的格式

java - 我应该如何用双字符替换双空格(连续空格)?

java - Android:调用 EditText getText() 方法时出现 NullPointerException

android - 对于 startActivity,ActivityManager Log 正在显示,但没有调用 Activity 的 onCreate

typescript - 基于 Expo 将华为移动服务集成到 React Native 应用中

android - 华为云数据库创建对象类型()崩溃

android - 华为自动语音识别限制 - PICKUP UI上的服务不可用错误

android - 可以自动完成 EditTextPreference 吗?

android - 以编程方式删除 FloatingActionButton 边框?

android - SLF4J Android 1.7.+ 未登录 Logcat