Android logcat read: Invalid argument
来源:互联网 发布:昵称特殊字符 数据库 编辑:程序博客网 时间:2024/06/02 06:06
这几天真机调试总是出现logcat read: Invalid argument, 重启下正常。但不能每次都这样撒, google了下, 解决方法如下:
adb shelllogcat -c
查了下logcat的help:
C:\Users\Administrator>adb shellsh-3.2# logcat --helplogcat --helpUsage: logcat [options] [filterspecs]options include: -s Set default filter to silent. Like specifying filterspec '*:s' -f <filename> Log to file. Default to stdout -r [<kbytes>] Rotate log every kbytes. (16 if unspecified). Requires -f -n <count> Sets max number of rotated logs to <count>, default 4 -v <format> Sets the log print format, where <format> is one of: brief process tag thread raw time threadtime long -c clear (flush) the entire log and exit -d dump the log and then exit (don't block) -t <count> print only the most recent <count> lines (implies -d) -g get the size of the log's ring buffer and exit -b <buffer> request alternate ring buffer ('main' (default), 'radio', 'events') -B output the log in binaryfilterspecs are a series of <tag>[:priority]where <tag> is a log component tag (or * for all) and priority is: V Verbose D Debug I Info W Warn E Error F Fatal S Silent (supress all output)'*' means '*:d' and <tag> by itself means <tag>:vIf not specified on the commandline, filterspec is set from ANDROID_LOG_TAGS.If no filterspec is found, filter defaults to '*:I'If not specified with -v, format is set from ANDROID_PRINTF_LOGor defaults to "brief"
logcat -c 就是清除全部日志, 原来是日志太大了,导致了这一问题的出现。 ok了,现在eclipse显示就正常了。
只为更简单! --Rydiy
- Android logcat read: Invalid argument
- logcat read: Invalid argument
- logcat read :Invaild argument
- Git fatal: failed to read object ..... : Invalid argument
- could-not-read-Username-for-https-github-com-Invalid-argument
- invalid argument
- centos7 nginx Failed to read PID from file /run/nginx.pid: Invalid argument 解决方法
- accept: Invalid argument
- v4l Invalid argument 问题
- Error: Invalid argument: /X
- accept: Invalid argument
- accept: Invalid argument
- accept: Invalid argument
- accept: Invalid argument问题解决
- accept: Invalid argument
- hwclock: RTC_SET_TIME: Invalid argument
- The argument is invalid.
- accept: Invalid argument
- 如何做科研
- 19.黑马程序员-子父类中变量的特点
- 解析excel文件--2003
- 大战前夕~
- 有符号数与无符号数之间运算问题
- Android logcat read: Invalid argument
- you have blocked popups in your browser settings aster数据下载
- PostgreSQL服务过程中的那些事二:Pg服务进程处理简单查询三:获取内存快照
- 把中文转为对应的拼音
- 在CSDN的第一篇文章~
- java coding过程中报错列表
- 栈的基本操作(链栈)
- ubuntu wine
- struts2实现文件下载