开发者

Unblocking adb logcat in batch file

开发者 https://www.devze.com 2023-03-13 13:37 出处:网络
i want to have batch file for adb logging , my batch file goes like this adb root adb remount adb shell cd /data/log/

i want to have batch file for adb logging , my batch file goes like this

adb root
adb remount
adb shell cd /data/log/

adb shell logcat –v time >log_0.txt 
adb shell logcat –v time –b radio >log_开发者_StackOverflow中文版radio_0.txt &

adb pull /data/log/

the first logcat is blocking .. so the next logcat does not execute.. Please suggest how to unblock logcat here.

thanks in advance


Try this...

adb shell logcat -d -v time >log_0.txt
0

精彩评论

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