Android studio Solve the Operation of logcat No Filter Toolbar

  • 2021-12-04 11:03:45
  • OfStack

Right-click windows mode in the title bar of logcat, and most of the filtering toolbars can be restored. To restore the previous docking style, right-click and remove the tick of windows mode

Additional knowledge: The Logcat module at the bottom of Android studio is missing and the Locat log contains many useless error log filtering methods

1. The log module Logcat displayed at the bottom is missing. How to display it?

Click View--Tool Windows--Logcat at the top

The Logcat module is displayed at the bottom

2. app reports errors, and the bottom log always displays many irrelevant error logs, which makes it very troublesome to filter out our own error log, or it can't be displayed by using show only selected application, or the error log flashes along with app. What should be done?

Click the No Fillter on the right in the bottom Locat, select Edit Filter Configuration in the bullet box, and follow the following.

Filter Name: Make your own decision, I took My Filter;;

Log Tag: The ^ (? ! . * (google)). * $(the regular expression used, google is the error log that always reports Google's error log, which leads to the inconvenience of viewing my own app error log, so add and remove the screening of google error report. You can decide according to your own project invalid error report log. If there are multiple invalid error report logs, the middle is separated by "", such as googleinternet);

Package name: Enter the name of the package I apply.

Then the error log is very convenient to view, will not show the invalid error log, will only show our own application of the error log.


Related articles: