Reputation: 3
Checking build Searching for devices... Launch failed: ADBSocket Socket connect failed. connect ECONNREFUSED 127.0.0.1:5037. Ensure any instances of Android Studio are closed.
I uninstalled Android studio. Even I checked and port 5037 is free.
Upvotes: 0
Views: 1419
Reputation: 64
I have the same error. I fixed the issue with the following:
adb devices
*It showed output like this:
- daemon not running. starting it now on port 5037 *
- daemon started successfully
- List of devices attached 9e0a8524 unauthorized [1]: https://i.sstatic.net/MXtY7.png
Hope it helps!
Upvotes: 1