Adb is a component of the Android SDK that includes tools for interacting with the Android platform, mainly adb and fastboot.
Download#
You can search for the Android SDK directly from Google to find the Android development documentation. Since we are not developers and are only using it simply in cmd, just download the sdk and set the system environment variables.
SDK link: https://developer.android.com/studio/releases/platform-tools
Installation#
After downloading, unzip it and place the extracted folder in a good path. For example, my path is D:\Android SDK Platform-Tools\platform-tools
.
Right-click on This PC →
Properties →
Advanced system settings, then click on Environment Variables.
In the pop-up window, select New under the system variables section.
The variable name is: Path
, and the variable value is the adb file directory, for example, mine is D:\Android SDK Platform-Tools\platform-tools
.
Testing#
Once completed, you can open cmd using win + x or other methods, and enter adb version
to check your adb version.
For future updates, simply update the files in the adb folder.