在Android实机调试时,若是正在eclipse中看没有到LogCat疑息,提醒是: $ adb logcat info: log device is empty! 缘由是体系默许封闭了log,须要将其翻开。 办理方式:
在Android真机调试时,如果在eclipse中看不到LogCat信息,提示是:
$ 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开关为开
-> “Log level setting” and set the log level you wish. // 设置log级别为Verbose
Reboot the phone.
手机拨号: *#*#2846579#*#*
将会出现服务设置菜单.
选择 “ProjectMenu” -> “后台设置” ->
-> “Log 设置”,设置LOG开关为开
-> “Log 级别设置”,设置为自己希望的log level.
之后重启手机就OK啦。
http://www.ithao123.cn/content-721738.html
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。