When I start my android emulator it takes some times then it will show the emulator-5554 disconnected message. Can anyone tell me what the problem is?
When I start my android emulator it takes some times then it will show the emulator-5554 disconnected message. Can anyone tell me what the problem is?
This happened to me, apparently another application (VideoStream in my case) was using the same port as the adb. To fix this, use the PowerShell (with elevated permissions) to look for the process that is using the port in which you get the error:
Get-Process -Id (Get-NetTCPConnection -LocalPort portNumber).OwningProcess
You will know the PID because it shows on the Id column.
Then open Task Manager and right click on the item bar on top (Name, Status...) and enable PID to view the process id. Then look for the PID that you got on the search before and kill it.
This fixed it for me.