安卓调试时遇到 logcat: Unexpected EOF!
在安卓平台调试,用adb logcat抓logcat时命令行会提示unexpected EOF!并断开了
这是因为有些平台设置的Logbuffer太小了,一般是256KB,通过adb logcat -g可以查询到
解决办法就是要加大这个buffer,有两种办法,这里只介绍第一种办法
用cmd命令行直接设置的,这种办法比较常用:
C:\Users\Administrator>adb logcat -G 4m
C:\Users\Administrator>adb logcat -g
ma
原创
2021-09-17 17:26:51 ·
864 阅读 ·
0 评论