Android phones crawl log log follows

1, download a adb tool (such as: platform-tools-latest-windows.zip, many online resources such tools can look for, as long as containing adb.exe, AdbWinApi.dll, AdbWinUsbApi.dll these three files in the package to use);

      On the PC side decompress, get platform-tools-latest-windows folder (where this folder in the root directory under d)

 2, phone settings page - Other Settings - Developer Options - open - open usb debugging features (specific mobile operating)

3, and then connected to the computer, select Phone page bomb box "file transfer" with the USB cable

4, the computer PC side open cmd, run as administrator, type adb devices Enter on if it is connected, check the connection of the device shown in Figure

 

5, the input adb logcat -c carriage (clear the log before the printing start again displayed, the previous filtered), and then enter adb logcat -v time> 1.log to crawl to the output to the current log 1.log files in the working directory, Ctrl + C to stop crawling

 

 

Unforeseen circumstances: the emergence & connection is successful (hereafter can grab for Android phone log log), enter exit enter, check the connection of the end

      Note: If the unknown host service of error, it may be due to the 5037 port is occupied, android_sdk in adb not start;

      At this point you can enter on the command line netstat -aon | findstr "5037", see occupancy pid 5037 port;

      Then take up to 5037 ports pid to end off (task manager ---> Details tab to find)

Guess you like

Origin www.cnblogs.com/blogtang/p/11765002.html
log
log