如何删除Logcat中的旧数据? [英] How can I erase the old data from logcat?

查看:131
本文介绍了如何删除Logcat中的旧数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我执行命令

adb logcat

在运行android模拟器时,所有旧日志都消失了,因此我认为它们存储在文件中的某个位置.我可以运行一个命令来清除日志并重新开始吗?如果没有,还有其他方法吗?

while running the android emulator, all of the old logs blow past and so I figure they are stored in a file somewhere. Is there a command I can run to clear the logs and start fresh? If not, is there some other way to do this?

推荐答案

您尝试过吗?

 adb logcat -c

https://developer.android.com/studio/command-line/logcat.html

这篇关于如何删除Logcat中的旧数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆