adb configuration of android studio

First open File -> Settings in Android Studio:

Insert image description here

Download the "Google USB Driver" plug-in (used for real-device debugging), and note the above SDK path:

Insert image description here

Right-click "My Computer" on the desktop, click "Advanced System Settings", and configure the advanced properties of the computer. There are two steps:

  1. Add a new environment variable ANDROID_HOME. The variable value is the path to the SDK just now.

Insert image description here

  1. Edit the Path variable and add the following two paths:
%ANDROID_HOME%\platform-tools
%ANDROID_HOME%\tools

Insert image description here

Insert image description here

In fact, what corresponds here are the two folders under the SDK path just now. These two folders exist in the SDK directory:

Insert image description here

After configuration, open the command box through win+R and enter adb. If it is as shown below, adb is configured.

Insert image description here

Guess you like

Origin blog.csdn.net/Charonmomo/article/details/132667873