开发者

how to clean old log from logcat, the logcat -c doesn't work

开发者 https://www.devze.com 2023-03-07 00:52 出处:网络
from cmd: C:\\android-sdk-w开发者_如何学JAVAindows\\platform-tools>adb shell and then logcat -b radio

from cmd: C:\android-sdk-w开发者_如何学JAVAindows\platform-tools>adb shell

and then logcat -b radio

it prints old historic log. I tried to call logcat -c like this: 1. adb shell 2. logcat -c and it returns no error 3. exit and reenter adb shell 4. logcat -b radio(I got the same with or without step 3)

and it didn't work it always got the old log as well. Any idea what is wrong? Thanks!


"logcat -b radio -c",to chean the old radio log,and then "logcat -b radio".

0

精彩评论

暂无评论...
验证码 换一张
取 消