Android Studio 4.1 adb got stuck

≯℡__Kan透↙ 提交于 2020-12-03 02:40:50

问题


I upgraded my Android Studio to v4.1.

But adb commands are doesn't respond. See:

Therefore Android Studio Devices status stuck at "Loading Devices". Like this:

Does anyone know about this issue?


回答1:


I had been dealing with this bug as I stated in the comment section for a while in Android Studio Canary. But it seems like this is a general problem that newer Android Studio versions have. So, these steps would work for most people.

  1. Uninstall Android Studio including the user settings. (Don't delete the folder. Uninstall properly.)

  2. Download and install Android Studio 4.X or Canary as you prefer. And, do not accept old user settings if the Android Studio ask you to choose it. In my case, it did not ask but it worked like a charm.

  3. Open the project

And voila.




回答2:


Same, Took a while as there were a lot of processes running. Eventually my plugged in devices came up just as I was about to "File... Invalidate Caches and Restart"

Did it eventually come back up for you?




回答3:


This is an issue with the latest Android Studio version. The only way to overcome it right now is to open the Android Studio terminal and run the start-server command manually:

/Users/[YOUR_USERNAME]/Library/Android/sdk/platform-tools/adb start-server




回答4:


For me, having environment path of adb set caused stuck at "Loading Devices". I removed the environment path and restarted Android Studio, my device could connect again

It still not work with Memuplay emulator. I have to launch another emulator called LDPlayer and reboot Memuplay while LDPlayer still running, it will now connect to adb



来源:https://stackoverflow.com/questions/64385032/android-studio-4-1-adb-got-stuck

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!