Android Studio Logcat [英] Android studio Logcat

查看:325
本文介绍了Android Studio Logcat的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Android的logcat(日食)用于显示ActivityManager管理器状态

Android's logcat (eclipse) used to show ActivityManager manager states

02-23 16:01:15.327: I/ActivityManager(65): Starting activity: Intent {   cmp=com.tmrepo/.Clfbpg }  
02-23 16:01:17.237: I/ActivityManager(65): Displayed activity com.tmrepo/.Clfbpg: 1777 ms (total 1777 ms)`

但是Android Studio中的logcat从未显示与ActivityManager相关的任何内容.

But the logcat in Android studio never shows anything related to ActivityManager.

反正有解决此问题的方法吗?

Is there anyway to fix this?

推荐答案

在LogCat窗口中,确保将日志级别"设置为详细":

In the LogCat window, make sure "Log Level" is set to "Verbose" :

此外,默认情况下,LogCat仅显示您的应用程序的输出,因此您可能需要对其进行配置,以显示所有进程(包括ActivityManager)的输出.可以通过取消选择仅显示所选过程的输出"(在LogCat面板中的选项卡旁边),然后在右侧选择无过滤器".

Also, By default, The LogCat only shows output from your app, so you might need to configure it to show output from all processes, including ActivityManager. This can be by unselecting "Only Show output from selected process" (next to the tabs in the LogCat panel) And selecting "No Filters" on the right.

这篇关于Android Studio Logcat的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆