Grab your Android phone flash back log with adb tool

1. Download the adb tool kit

2. Considerations

Make sure the computer is connected to only one phone device (preferably only one USB cable connection), while ensuring that the phone is turned on USB debugging mode (you can view the connection status via mobile assistant)

3.Adb Kit path storage

The best on the hard disk root directory. FIG. (3-1)

  • Figure 3-1

4. Use dos command window

By running win + r popup window, enter cmd; or via: Start -> Run, type cmd, and then enter a command to open the window dos.

In dos window, type: cd D: \ Android (cd need space behind, the path is the path to your adb exist), and then enter into the toolkit folder. (FIG. 3-2)

Before crawl log, enter the command: adb logcat -c and then press Enter to clear the old log information. (FIG. 3-3)

  • Figure 3-2

  •  
  • Figure 3-3

Remove old log information enter the command:, adb logcat -v time> \\ logcat.log began to crawl log, flash back steps while operating on the phone.

Note: adb logcat -v time: is the command to start the crawl log

>: Represents the output to

. \\ logcat.log: represents the current path of the log under the name of

5. The end of the crawl log

Use assembly: Ctrl + c can grab the end of the log.

6. Review the log information

If you are using the above command execution log crawl, then simply check logcat log file in the current path; if you are assigned to a path, the path you specify to the next view logcat log file. (FIG 3-4,3-5)

  • Figure 3-4

  •  
  • Figure 3-5

 

Guess you like

Origin www.cnblogs.com/tester-Monomania/p/11122698.html