Android Studio ADB wipes out logcat quickly when app crashes

Android Studio ADB wipes out logcat quickly

At time we may face this kind of annoying issue. In Android Studio, in Android tab ADB wipes out log cat data quickly when app crashes. And makes us not able to find out the code issue.

wipes out

To solve this issue, in Android tab on right side you can see dropdown to select the log filter


Select Edit Filter Configuration, and you will see this window


In this window, set your application Package Name as shown in  above image. You can set any Filter Name text. and Click OK.

Now, if app crashes, it will show the log data.

Hope it helps somebody…


You may also interested in

Logcat Clearing too Fast- Eclipse

While running app on latest android devices, from ADT Eclipse, you may find difficulty in viewing LogCat data. As lots of other background services of different apps are running, logcat clearing out in a glimpse.

At this kind of situation, To view LogCat data you have to change a Eclipse setting as shown below..

Goto Window ->Preferences -> In left panel expand Android -> select LogCat -> here in right panel you can see Maximum number of LogCat messages to buffer set as 5000,

Change this value to some large number like 500000. Click Apply and then Ok. (You may get a Error notifying a preference change listener. just ignore it.)

logcat clearing

Now you can able to see LogCat data.

Hope it helps somebody.

Cheers 🙂


You may be also interested in