简体   繁体   中英

Android studio Logcat

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

Like this

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)`

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

Is there anyway to fix this?

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

在此处输入图片说明

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM