Today test sister let back end of me ... Helped get the ADB to grab the bag.
The feeling grab pack helps to test the view request and response parameters, which can increase the team's tacit understanding, so record ... Hope to help the needy friends
Description: Use the ADB (Android Debug Bridge) Capture tool on the Cmd.exe command line
Prepare: ADB toolkit, below is the Baidu cloud disk send address
Https://pan.baidu.com/s/1dFPcBvj
First step: Download the ADB toolkit
The second step: Unzip the Download Good Toolkit, the toolkit also has the Linux version, here only to talk about Windows ... Linux method similar
Extracted files:
Step three: Paste the extracted 5 files into the C:\Windows\System32 directory
Fourth step: Bring up the cmd command window
Fifth step: Plug in Android phone, turn on debug mode, USB debug input adb devices
Note: 1. If only list of devices attached indicates that the phone is not connected properly, you can unplug and plug it in again, this may involve licensing issues
2. If you are prompted here: The missing AdbWinApi.dll file, you can just extract the file from a copy to C:\Windows\System can be
Sixth step: If the fifth step is normal here, then enter the ADB logcat to see the log.
Of course, we need to catch the general is the network log, where the use of log filtering is possible?
Command: adb logcat | FINDSTR Network (here is a keyword, ask development to)
1
This will be able to see the request and output of the log, if the cmd is garbled can be set under the encoding set OH chcp 65001 is the UTF-8 encoding
Warning: The last time you saw a post saw someone say that some internet cafes in the background to start the silent installation program
Once the Android phone is connected to the computer and the USB key is authorized, the push program is silently installed on the phone. Security Risks Unknown!
Recommendation: Under normal circumstances please do not turn on the USB debugging mode, for your security sake.
Log toolkit excerpt from Baidu Paste, the content for pure hand, if there is infringement, please contact me timely processing, if necessary reprint, please indicate the source!
Simple ADB grab package installation tutorial for Windows