I'm using Android Studio 1.0.2 and can't find the way to clear logcat output before each Run/Debug.
Is there any Gradle task (similar to adb logcat -c
) that I can create a Run/Debug configuration for in order to clear output? Or is there simpler way to clear the logcat?
This can be customized for each existing run configuration you have defined. Instructions for enabling this feature are given below:
Check the checkbox located at:
Run -> Edit configurations... -> Miscellaneous tab -> "Clear log before launch"
Check the checkbox located at:
Run -> Edit configurations... -> Logcat tab -> "Clear Log before launch"