AndroidStudio configures adb and keeps loading devices

Execute adb error message in Terminanl as follows:

'adb' 不是内部或外部命令,也不是可运行的程序或批处理文件。

correct:

Android Debug Bridge version 1.0.41
Version 31.0.3-7562133
Installed as C:\WINDOWS\system32\adb.exe
.......................................

Solution steps:
1. Configure environment variables,
increase the variable ANDROID_HOME
, and the local path is D:\Android\sdk
insert image description here

3. Add the adb path to the system environment variable path, corresponding to the platform-tools and tools folders
insert image description here
4. Make sure that the platform-tools and tools folders under the SDK path contain three files: adb.exe AdbWinApi.dll AdbWinUsbApi.dll

5. Copy the three files adb.exe AdbWinApi.dll AdbWinUsbApi.dll to the C:\Windows\System and C:\Windows\System32 folders of the windows system.

6. Enter adb in the Terminal of Androidstudio, it should be available, if not, restart AndroidStudio.

Guess you like

Origin blog.csdn.net/qq_16843563/article/details/123647343