1. Configure environment variables
1. Download adb package
adb and fastboot download address: https://adbdownload.com/
2. Unzip the file
Unzip it here to the F:\setup directory
3. Copy the decompression path
F:\setup\platform-tools
4. Configure environment variables
Press the win+R shortcut key to open the run window, enter control and press Enter
Control Panel->All Control Panel Items->System
Advanced system settings
You can also right-click "Computer->Properties" to open
System Properties->Advanced->Environment Variables
Create a new environment variable (the variable name is self-explanatory, and the variable value is the path where adb.exe and its related dynamic libraries are located), as shown in the following figure:
Add the newly created adbPath variable to the system Path variable:
Adding method:
First use English semicolons ";" to separate the existing paths, and then write %adbPath% to add the adbPath value to the system environment variable.
At this point, the environment variable configuration is completed
5. Verify whether the adb environment variable configuration is successful
Press the win+R shortcut key, enter cmd in the run window to open the command line interface, enter adb version,
if it is displayed
Android Debug Bridge version 1.0.41
Version 34.0.0-9570255
Installed as F:\setup\platform-tools\adb.exe
The configuration is successful.
If it displays
'adb' is not recognized as an internal or external command, operable program or batch file.
It means that the configuration is not successful. At this time, check whether the semicolon is in English.
2. adbd driver installation
Since the win7 system does not come with an adb driver, the phone cannot be debugged even if the adb environment variables are configured, so the adbd driver needs to be installed.
Before finding a solution, there were two trials and errors :
First, trying to update the driver software :
out of ignorance and laziness, I chose to automatically search for updated driver software, and the results are as follows:
The second is to scan and detect hardware changes :
The result is as follows:
So I searched the Internet and found this article: How to install the adb driver. How to install the adb driver. Then I realized that the driver was not installed.
Then I suddenly thought: I searched the Android official website before installing adb, and accidentally entered the " Android Developer Platform " (which opened the door to a new world). While browsing, I saw the adbd daemon, which confirmed me even more. There is no adb driver on the win7 system.
adbd driver download address: https://adbdriver.com/downloads/ ADBD Driver Installer
Select "ADB Driver Installer" under Automated installation
Download here to F:\setup
As shown in the picture below, the download has been completed:
Right click on ABD Interface -> Update Driver Software
This time choose to manually find and install the driver software