"无法打开日志设备“的/ dev /日志/主”:没有这样的文件或目录" [英] "Unable to open log device '/dev/log/main': No such file or directory"

查看:140
本文介绍了"无法打开日志设备“的/ dev /日志/主”:没有这样的文件或目录"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新的Andr​​oid开发,并买了一个便宜的华为声波(U8650显然)这样我就可以在作出实际设备上的应用程序测试我的第一次尝试。

I am new to Android development and bought a cheap Huawei Sonic (U8650 apparently) so I could test my first attempts at making an app on an actual device.

不过,每当我尝试使用亚行logcat或亚行的shell,然后的logcat的设备,我得到的:

However, whenever I try to use 'adb logcat' or 'adb shell' then 'logcat' on the device I get:

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

在设置

我已经启用USB调试 - >开发

I have already enabled Usb debugging in Settings -> Developer.

我不知道足够的关于Android要知道这是我的东西,甚至可以修复。

I just don't know enough about Android to know if this is something I can even fix.

我发现了其他两个问题有类似的问题:

I have found two other questions with similar problems:

​​的/ dev /日志/主没有发现

<一个href="http://stackoverflow.com/questions/5692885/info-unknownunknown-unable-to-open-log-device-dev-lo">??-?? ??:?:?? ???:信息/&lt;未知&GT;(&lt;未知&GT;):无法打开日志设备的/ dev /日志/主:没有这样的文件或目录

...但他们俩竟然是使用某种非标准的内核是有禁用日志记录。煤矿是股票手机的开箱即用。

...but they both turned out to be using some kind of non standard kernel that had logging disabled. Mine is a stock phone out of the box.

这是一个非常便宜,但活泼的Andr​​oid 2.3的手机,所以希望这不是钱总的浪费。

It's a very cheap but snappy Android 2.3 phone, so hopefully it wasn't a total waste of money.

任何帮助将是很大的AP preciated。

Any help would be greatly appreciated.

推荐答案

我其实发现这个答案终于来了!

I have actually found an answer for this finally!

我有另一种盲目看是否有任何更新过的这个任意位置和整个后来到XDA开发有关略有不同厂商设备同样的问题。

I was having another aimless look to see if anything had been updated about this anywhere and came across a post on xda-developers about a slightly different Huawei device with the same problem.

<一个href="http://forum.xda-developers.com/showpost.php?p=17774398&postcount=93">http://forum.xda-developers.com/showpost.php?p=17774398&postcount=93

它实际工作。我有我的华为声波(U8650)现已完成logcat的记录。

It actually worked. I have complete logcat logging on my Huawei Sonic (U8650) now.

三呼万岁的不放弃。

解决方案,从XDA复制(如果它被删除等):

There is a hidden service-menu where you can set loggin up. The
service-menu is started by "dialing" this phone number:

*#*#2846579#*#*

这篇关于&QUOT;无法打开日志设备“的/ dev /日志/主”:没有这样的文件或目录&QUOT;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆