Visual studio 2015 Visual Studio Emulator无法安装smartsocket侦听器

Visual studio 2015 Visual Studio Emulator无法安装smartsocket侦听器,visual-studio-2015,android-emulator,Visual Studio 2015,Android Emulator,我试图在Visual Studio 2015上运行Xamarin Forms Phoneword演示,但无法在模拟器中打开应用程序。模拟设备打开并似乎可以工作,但我的应用程序从未出现在其中 我收到以下错误:“无法安装smartsocket侦听器:无法绑定到127.0.0.1:5037:每个套接字地址w(协议/网络地址/端口)通常只允许使用一次。(10048)…然后是adb服务器错误 我已经为smartsocket错误和adb服务器错误寻找了解决方案,但没有任何帮助(这是我第一次尝试在Visual

我试图在Visual Studio 2015上运行Xamarin Forms Phoneword演示,但无法在模拟器中打开应用程序。模拟设备打开并似乎可以工作,但我的应用程序从未出现在其中

我收到以下错误:“无法安装smartsocket侦听器:无法绑定到127.0.0.1:5037:每个套接字地址w(协议/网络地址/端口)通常只允许使用一次。(10048)…然后是adb服务器错误

我已经为smartsocket错误和adb服务器错误寻找了解决方案,但没有任何帮助(这是我第一次尝试在Visual Studio上进行Android开发,所以这可能是一个新手错误)

这是VS输出日志:

1>Deploying 5.1" Marshmallow (6.0.0) XXHDPI Phone ...
1>Build started.
1>C:\Users\Royce.WKS\AppData\Local\Android\sdk\platform-tools\adb.exe -s 169.254.190.187:5555 devices 
1>error: could not install *smartsocket* listener: cannot bind to 127.0.0.1:5037: Only one usage of each socket address (protocol/network address/port) is normally permitted. (10048)
1>could not read ok from ADB Server
1>* failed to start daemon *
1>error: cannot connect to daemon
1>List of devices attached
1>adb server version (32) doesn't match this client (36); killing...
1>
... 
and 46000+ characters device list.
...
1>Selected device is not running.
1>Build FAILED.
如果您有任何建议,我们将不胜感激。

我在这个帖子上找到了

答案是:

手动连接adb connect:5555,然后重试

这对我来说很有效,尽管我所犯的错误与另一个问题所描述的不一样