"无法打开日志设备“的/ dev /日志/主”:没有这样的文件或目录"
我是新的Android开发,并买了一个便宜的华为声波(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 /日志/主:没有这样的文件或目录
...但他们俩竟然是使用某种非标准的内核是有禁用日志记录。煤矿是股票手机的开箱即用。
...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.
这是一个非常便宜,但活泼的Android 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.
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#*#*