Android不显示logcat消息 [英] Android doesn't show logcat messages
本文介绍了Android不显示logcat消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
它仅示出了用于我的应用程序的错误消息.这是一个纳冯铂10. 我试图setprop与亚洲开发银行,但没有运气日志级别!
It is only showing the Error messages for my app. It is a navon platinum 10. I tried setprop with log level with adb but no luck!
更新
- android studio(最新)
- 无过滤
- 设备通过ADB和logcat的(只显示的错误信息)识别
- android 6.0 Navon Platinum 10
尝试:
-
android:debuggable="true"
-
<uses-permission android:name="android.permission.READ_LOGS" />
- ADB壳时准许com.something.MyAppMame android.permission.READ_LOGS
- adb shell setprop log.tag.MyLogger VERBOSE
android:debuggable="true"
<uses-permission android:name="android.permission.READ_LOGS" />
- adb shell pm grant com.something.MyAppMame android.permission.READ_LOGS
- adb shell setprop log.tag.MyLogger VERBOSE
推荐答案
确保您的AOS属性未禁用logcat.检查:
Make sure your AOS properties have not disabled logcat. Check with:
$ su
# getprop |grep logcat
这通常是在/system/build.prop
中完成的:
# Disable logcat
logcat.live=disable
这篇关于Android不显示logcat消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文