当我执行命令时
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 中删除旧数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!