Android开发中在代码中通过System.out.println的输出内容不知道去哪了,在console视图中看不到。而通过Log.i之类的要在Logcat视图中看到,夹杂了太多的其它App及底层的信息,看起来并不明朗。其实也是可以看到的。可以在Logcat视图中新建一个Message Filter。
操作如下:
在Logcat窗口下单击绿色“+”;
Filter Name:sysout
by Log Tag:System.out
其他都为空,单击OK,就可以看到你所打印的信息.如果你想修改过滤器,点击笔状的图形,就可修改。


这样就可在sysout选项卡中看到System.out.println的输出内容了。
