Android Studio: How to clear logcat output before every run

To clear logcat output in Android Studio before each test run, follow these steps:

  1. Click Run
  2. Click Edit Configurations...
  3. When the “Run/Debug Configurations” dialog shows up, click the Logcat tab (now called Miscellaneous in Android Studio 2.x)
  4. Enable the “Clear log before launch” checkbox, as shown in the image.
  5. Click OK, and your logcat output will be cleared before each new run in Android Studio.

If you wanted to see how to clear logcat output before each test run in Android Studio, I hope this is helpful.

Photo D8