I 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 5037
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 *
Go to platform-tools folder in appdata
where adb.exe
file resides.
Execute the following command:
adb reconnect offline
it worked for me.
Sir , reinstall everything especially for Android Studio , reverse to older version if that's available , update to newest version if that's unavoidable
I had two Android Studios running (Stable and alpha). Closed both of them and then re-opened one, and was good again.
What worked for me was wiping the data of the emulator.
emulator -avd Your_Device_Name -wipe-data
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
For me on time all adb
commands were "stuck" and did not work at all. Not even adb kill-server
did execute. It failed with the following error:
could not install *smartsocket* listener: Address already in use
* failed to start daemon
adb: failed to check server version: cannot connect to daemon
I noticed that I had several adb
processes running in the background, all trying to listen to port :5037
of course, which was already busy. What helped for me was to kill the adb
processes running in the background.
After killing all of them off everything worked fine and adb devices
would discover my emulator again.
I've got simmilar problem but in my case I had to run adb attached to all network interfaces.
To do it, simply run the adb with -a
flag like below
adb -a start-server
© 2022 - 2025 — McMap. All rights reserved.