我嘗試使用xamarin android blank app創建新項目。當我嘗試打開main.axml
佈局,它在下面的錯誤:Xamarin Android Visual Studio佈局在創建新空白應用程序時未渲染
System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at Xamarin.AndroidDesigner.Java.JavaCommunicationContext.ReadMessageLoop() in C:\d\lanes\4699\1be4f0c9\source\xamarinvs\External\md-addins\MonoDevelop.MonoDroid\Xamarin.AndroidDesigner\Xamarin.AndroidDesigner.Java\JavaCommunicationContext.cs:line 227
您的Xamarin的版本號是多少? –
您是否嘗試過使用與源代碼(文本)編輯器或編碼一起打開它? –
xamarin版本Xamarin for Visual Studio 4.5 –