Cannot load APK on device because non existing emulator appears and disappears in Android Studio 3.3

I have struggled with this from yesterday on my Mac. Port 5556 is taken by an other app and that causes a fake emulator to be shown (in my case it was Videostream app)

Solution (in terminal):

  1. sudo lsof -i:5556 // or any other port that is shown as emulator name, you will get PID
  2. ps ax | grep [PID] It gave me the file that used the port (it was one of the files in Videostream app)
  3. I used AppCleaner app to uninstall Videostream (but simple removal is sufficient)
  4. I killed the PID with: kill -QUIT [PID]