Search code examples
androidandroid-studioandroid-studio-dolphin

Android Studio Dolphin's Logcat stopped working for the filter?


With 'Android Studio Dolphin | 2021.3.1', I am trying to get logs for my application with the Classname (which is used as TAG for Logs) but nothing is showing up. Sometimes, it doesn't show any logs with the filter package:mine or package:'my.package.name'. Is this a known issue?

Update: reported on google's board : https://issuetracker.google.com/issues/258502193


Solution

  • One solution(time-consuming) which helped me is:

    1. Close the current/all Logcat tab/s
    2. Disconnect the device/emulator.
    3. Restart IDE. (wait for some time if possible)
    4. Start new Logcat windows.

    Update: The second solution is to turn off the experimental Logcat window:

    1. Select Android Studio > Preferences
    2. Go to the Experimental tab
    3. Un-check the 'Enable new Logcat tool window' option.

    Update (Nov,22): The quick solution that worked for me:

    1. Change your Log.d() statements to System.out.println(), and filter it with the keyword added in println() statements.