Trying to output my LogCat to a file

后端 未结 3 1047
别跟我提以往
别跟我提以往 2021-02-14 13:31

I\'ve been told it\'s a command line option. But Eclipse\'s Run!Run Configurations...!Target!Additional Emulator Command Line Options field is already occupied with

<         


        
3条回答
  •  暖寄归人
    2021-02-14 14:23

    Alternatively, if you only want to dump whatever's already in the logcat buffers and exit immediately (useful for scripts), you can specify the -d option:

    $ adb logcat -d -s MessageBox  > dump_file.txt
    

    Make sure that '-d' is after 'logcat'.

提交回复
热议问题