By Alvin Alexander. Last updated: January 24, 2017
To clear logcat output in Android Studio before each test run, follow these steps:
- Click Run
- Click Edit Configurations...
- When the “Run/Debug Configurations” dialog shows up, click the Logcat tab (now called Miscellaneous in Android Studio 2.x)
- Enable the “Clear log before launch” checkbox, as shown in the image.
- 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.