2016-12-27 16 views
0

我想在Visual Studio 2015上運行Xamarin Forms Phoneword演示程序,並且無法讓應用程序在模擬器中打開。仿真的設備打開並似乎工作,但我的應用程序永遠不會出現在它。Visual Studio Emulator無法安裝smartsocket監聽器

我收到此錯誤:「無法安裝smartsocket偵聽程序:無法綁定到127.0.0.1:5037:通常只允許使用每個套接字地址(協議/網絡地址/端口)(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. 

任何意見,將不勝感激。

回答

相關問題