安卓开发时遇到问题:
Unable to open log device '/dev/log/main':No such file or directory
$ adb logcat info: log device is empty!
关闭了log,解决方法:
摘自: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.
posted on
浙公网安备 33010602011771号