Android Studio adb abnormal problem

It may be the reason why the computer is stuck and I repeatedly open the emulator, or it may be other reasons that cause the adb to be abnormal.

Abnormal performance of adb

  1. With the command adb kill-server, the program gets stuck. Other commands such as adb start-server will get stuck

  2. According to the online tutorial, uninstall android sdk platform-tools and then reinstall, there will be an abnormal bullet box, adb.exe, AdbWinApi.dll, AdbWinUsbApi.dll abnormal

  3. After uninstalling android studio, reinstalling it still doesn’t work (I didn’t uninstall it for the previous configuration, the sdk here should need to be deleted)

  4. After using the command taskkill /f /im adb.exe to kill the process, continue to perform 1 operation or not

  5. Neither the emulator nor the mobile phone can connect

Solution

  1. Uninstall android studio again, the version is optional. For the configuration of as, you can not choose to delete all, just delete the sdk

  2. Connect the mobile phone for testing, there may be adb abnormality, open the task manager, find the adb process, kill

  3. Using the command line, adb kill-server (shut down), then adb start-server (restart)

  4. Then connect the mobile phone to test, and it can be used normally.

Guess you like

Origin blog.csdn.net/fromVillageCoolBoy/article/details/128369796