Crawl app crash logs Android - iOS crawl crash log

Android - iOS crawl crash log (Reprinted from: https: //www.cnblogs.com/wangxiaoqun/p/10535847.html)

android flash back log acquisition method:

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

IOS flash back to retrieve the log method:

1. Install iTools or Ace Assistant

2. The phone connected to the computer

3. Go crash logs (Figure 3-6)

4. Export crash logs (Figure 3-7)

如发现日志信息很多,可在崩溃日志页面点击【修改时间】,会按时间倒叙来排序。

找到闪退日志的文件,右键->导出

  • 图3-6

  •  
  • 图3-7

 
 

Guess you like

Origin www.cnblogs.com/yuany66/p/11228929.html