Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio 4.1 adb got stuck

I upgraded my Android Studio to v4.1.

But adb commands are doesn't respond. See:enter image description here

Therefore Android Studio Devices status stuck at "Loading Devices". Like this:enter image description here

Does anyone know about this issue?

like image 589
b.erdi Avatar asked Oct 16 '20 07:10

b.erdi


2 Answers

On my situation, I had to delete the platform-tools folder found in SDK folder and replace it with the latest version.

Ex. C:\Users\ (computer name)\AppData\Local\Android\Sdk, from this path you should find a folder named platform-tools then delete it.

Hence, I had to install the latest platform-tools from the official site of android. Here is the link, https://developer.android.com/studio/releases/platform-tools. You only have to download the latest platform-tools specifically for your computer OS. After, unzip it to the path where you had deleted the old version of it.

By the way, platform-tools contains an executable file named adb.exe

like image 160
4xMafole Avatar answered Oct 08 '22 00:10

4xMafole


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

enter image description here

like image 26
André Sousa Avatar answered Oct 08 '22 01:10

André Sousa