Unable to open log device '/dev/log/main': No such file or directory

来源:互联网 发布:淘宝买东西寄到澳洲 编辑:程序博客网 时间:2024/05/17 23:11

今天使用华为U8825D Ascend G330D 手机调试logcat不输出日志。这个手机是昨天新买的,没root,没刷机。

从网上查到了解决方案

进入拨号界面(最好不要用第三方的)输入:*#*#2846579#*#*

依次选择ProjectMenu---后台设置----LOG设置---LOG开关 点击打开,还可以根据需要设置log 级别

重启手机

 

参考资料 :

scwhy: 华为手机logcat不出日志解决方案 - http://blog.csdn.net/scwhy/article/details/7432414

BigCoffic:Unable to open log device '/dev/log/main': No such file or directory - http://my.oschina.net/u/213372/blog/55774

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

 


<script type="text/javascript"><!--google_ad_client = "ca-pub-1944176156128447";/* cnblogs 首页横幅 */google_ad_slot = "5419468456";google_ad_width = 728;google_ad_height = 90;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
原创粉丝点击