Android Development official website , download the latest Android platform-tools
1, Android platform-tools Download
Android platform-tools Download
2, the environment variable settings
Open "My Computer" - "Properties -> Advanced System Settings -> Environment Variables -" Edit Path variable, add the Android platform-tools to the system path environment variable.
Instructions:
-
Download adb toolkit, corresponding adb kit will have a lot, so long as the red frame as shown comprises three can be used;
-
Connect your phone to the computer with a USB cable, and make sure the phone is open USB debugging. Note: If the phone is not connected displays (waiting for device) as shown after the success of open software;
-
The recording process, there are two ways. The first method is directly built into the user interface toolkit file folder program, as shown in the APP phone to start operation, the red underlined crawl log files (default) size of the initial 0KB, automatically records ;
-
The second method is to call the command from running, and required the adb tool kit try to put down the computer disk root directory (the name of the installation package to make use of English), easy call. Kit herein adb root directory placed in the D, available commands cd d: \ adb be retrieved, after the completion of the transfer of input:
log adb logcat -b main -v time> app.log print applications
PS: 1, detailed commands related operations as illustrated; 2, part needs to be stored as log log Redlined document name, the initial size of 0KB.
-
Upon completion, close the black box command to save a file .log facilitate distinguished name for identifying other, see for subsequent use.