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视图显示:logcat read: Invalid argument
没有新的日志打印出来。
解决办法:
1.打开cmd窗口,输入 adb shell ,回车。
2.输入 logcat -c ,回车
3.手机设备与电脑重新连接,在eclipse adt插件的devices视图,选择调试的设备,logcat视图重新显示日志啦。
在cmd窗口查看adt的logcat日志:
输入 adb shell logcat 回车