Android Studio functions correctly for the most part, but I can't seem to use the emulator.
In the deployment target menu an emulator called emulator-5556 [DISCONNECTED]
keeps appearing and disappearing about once a second. It always starts about 10 seconds after adb
is initialized, when I open the run menu for the first time.
Whenever it does this, I cannot seem to run my app on the emulator, or on my own phone. The emulator starts up, but the app never gets launched. I've had the issue on every project I've opened.
In the run log this message appears whenever the issue is occurring and I try to run the program:
Device emulator-5556disconnected, monitoring stopped
I've also made a screen capture of the issue.
I found some other threads talking about other problems with disconnected emulators being fixed with the kill-server
and start-server
command, so I tried this, and while this does stop the issue for a little bit, it starts flashing the disconnected emulator again in the menu 10 seconds after I reopen the run menu.
Any ideas on how to fix this?
I've tried:
adb
with kill-server
and then start-server
gradle
, and reinstalling itI think it's unlikely to be a computer related issue since I know several other people with the exact same laptop who didn't run into this issue.
The issue was that I had VideoStream installed on my laptop, which was using port 5556. Uninstalling the app fixed the problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With