I am trying to run adb. When I run : \"adb start-server\" it hangs during a while, and then no message.
After that the command \"adb get-state\" receive the answer \
I think another process like java web server or java application like "traccar" running on your machine. It works for me after killing these process.
What I did was end the adb.exe on my task manager, restarted Android Studio and then I connected my device again then everything went fine :D
I have the same while i was running a java application 'traccar', it works for me after killing this process
I can think of a couple of scenarios in which you would encounter this behavior.
(most likely) You're not running adb.exe as a priviledged user. Even though you're set up as a local admin, you're not running this command with elevated privileges. Since the default run->cmd is in normal user mode, this is expected. The following article explains how to run the command prompt as an admin / priviledged user. http://www.howtogeek.com/howto/windows-vista/run-a-command-as-administrator-from-the-windows-vista-run-box/
(less likely) You may need to add adb.exe to the Windows firewall rules. Go to Control Panel -> Windows Firewall, and click on "advanced settings". Then, under "inbound Rules" and "outbound rules", add a rule for adb.exe as a program.
Platform Tools
in Android SDK ManagerAdbWinUsbApi.dll
, AdbWinApi.dll
and adb.exe
Platform Tools
in Android SDK Manager