log device is empty

来源:互联网 发布:淘宝网大风筝 编辑:程序博客网 时间:2024/06/05 03:13
最近使用华为的C8812,总是看不到logcat信息,提示是:
 ?: log device is empty!
 于是,百度了一下,发现这个好方法,分享一下。
  

log device is empty解决办法

http://stackoverflow.com/questions/6941710/unable-to-open-log-device-dev-log-main-no-such-file-or-directory

Dial this: *#*#2846579#*#*   
Service menu will appear.
Go to “ProjectMenu” -> “Background Setting” -> “Log Setting”  //Log设置中,设置LOG开关为开。

Open “Log switch” and set it to ON.  // 设置log级别为Verbose
Open “Log level setting” and set the log level you wish.

Reboot the phone.


之后重启手机就OK啦。