admin管理员组文章数量:1130349
Android调试出现了logcat: Unexpected EOF!
完整的异常信息:
logcat: Unexpected EOF!
This means that either the device shut down, logd crashed, or this instance of logcat
was unable to read log messages as quickly as they were being produced.
If you have enabled significant logging, look into using the -G option to increase log
buffer sizes.
解决方法:
1.通过命令修改日志缓冲区大小:
先通过 adb shell命令 执行:logcat -g 查看缓存日志的大小;
再通过命令执行:logcat -G 3M 临时处理日志缓冲大小即可;
2.手动调整:
进入设置找到开发者权限,进入找到日志记录器缓冲大小 手动选择每个日志缓冲区的大小:
调整大小后,进行编译器查看日志是否正常即可;
Android调试出现了logcat: Unexpected EOF!
完整的异常信息:
logcat: Unexpected EOF!
This means that either the device shut down, logd crashed, or this instance of logcat
was unable to read log messages as quickly as they were being produced.
If you have enabled significant logging, look into using the -G option to increase log
buffer sizes.
解决方法:
1.通过命令修改日志缓冲区大小:
先通过 adb shell命令 执行:logcat -g 查看缓存日志的大小;
再通过命令执行:logcat -G 3M 临时处理日志缓冲大小即可;
2.手动调整:
进入设置找到开发者权限,进入找到日志记录器缓冲大小 手动选择每个日志缓冲区的大小:
调整大小后,进行编译器查看日志是否正常即可;
版权声明:本文标题:【Android】studio查看日志解决刷爆问题 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://it.en369.cn/jiaocheng/1754939453a2744029.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。


发表评论