How can I erase the old data from logcat?

后端 未结 4 1721
梦如初夏
梦如初夏 2020-12-23 10:50

When I execute the command

adb logcat

while running the android emulator, all of the old logs blow past and so I figure they are stored in a f

4条回答
  •  攒了一身酷
    2020-12-23 11:39

    For me, adb logcat -c was not working and was giving following error :

    failed to clear the 'main' log
    

    For this, I first did :

    adb shell
    

    Than I did :

    logcat -c
    

    then exit the shell. This way I was able to clear logcat when same was not getting cleared from adb logcat -c

提交回复
热议问题