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
-
With the command adb kill-server, the program gets stuck. Other commands such as adb start-server will get stuck
-
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
-
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)
-
After using the command taskkill /f /im adb.exe to kill the process, continue to perform 1 operation or not
-
Neither the emulator nor the mobile phone can connect
Solution
-
Uninstall android studio again, the version is optional. For the configuration of as, you can not choose to delete all, just delete the sdk
-
Connect the mobile phone for testing, there may be adb abnormality, open the task manager, find the adb process, kill
-
Using the command line, adb kill-server (shut down), then adb start-server (restart)
-
Then connect the mobile phone to test, and it can be used normally.