'Unable to connect to adb daeomon on port:5037

enter image description hereI have just installed the android studio, But my "Hello world " App is not running in emulator, It's showing the Emulator error - Unable to connect to adb daemon on port 5037enter image description here



Solution 1:[1]

1.) You can restart adb manually from command prompt

  run->cmd->your_android_sdk_path->platform-tools>

Then write the below commands.

adb kill-server - To kill the server forcefully

adb start-server - To start the server

F:\android-sdk-windows latest\platform-tools>adb kill-server
F:\android-sdk-windows latest\platform-tools>adb start-server
* daemon not running. starting it now on port 5037 *
* daemon started successfully *

Solution 2:[2]

Go to platform-tools folder in appdata where adb.exe file resides.

Execute the following command:

adb reconnect offline

it worked for me.

Solution 3:[3]

Sir , reinstall everything especially for Android Studio , reverse to older version if that's available , update to newest version if that's unavoidable

Solution 4:[4]

just do 2 things into your terminal below:

adb kill-server

adb start-server

write above 2 lines into your terminal problem will resolve. thanks

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1
Solution 2 mishsx
Solution 3 China_Democracy
Solution 4 sherkhan