eclipse adt插件的logcat视图显示:logcat read: Invalid argument
没有新的日志打印出来。
解决办法:
1.打开cmd窗口,输入 adb shell ,回车。
2.输入 logcat -c ,回车
3.手机设备与电脑重新连接,在eclipse adt插件的devices视图,选择调试的设备,logcat视图重新显示日志啦。
在cmd窗口查看adt的logcat日志:
输入 adb shell logcat 回车
本文介绍了如何解决Eclipse ADT插件的Logcat视图显示日志错误并无法打印日志的问题。通过在cmd窗口执行adbshell、logcat-c等命令,重新连接手机设备到电脑,并在Eclipse中刷新Logcat视图,即可恢复正常日志显示。
eclipse adt插件的logcat视图显示:logcat read: Invalid argument
没有新的日志打印出来。
解决办法:
1.打开cmd窗口,输入 adb shell ,回车。
2.输入 logcat -c ,回车
3.手机设备与电脑重新连接,在eclipse adt插件的devices视图,选择调试的设备,logcat视图重新显示日志啦。
在cmd窗口查看adt的logcat日志:
输入 adb shell logcat 回车
5023

被折叠的 条评论
为什么被折叠?