开发者

Unblocking adb logcat in batch file

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜