gpt4 book ai didi

c# - 创建新的空白应用程序时,Xamarin Android Visual Studio布局未呈现

转载 作者:行者123 更新时间:2023-12-03 12:09:23 25 4
gpt4 key购买 nike

我尝试使用xamarin android空白应用程序创建新项目。当我尝试打开main.axml布局时,出现以下错误:

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的版本问题(请查看此文章:

Unable to render xamarin android layout

我选择那个版本,即4.5.0.476,与上面的帖子相同。
我将尝试降级此版本,并及时通知您

关于c# - 创建新的空白应用程序时,Xamarin Android Visual Studio布局未呈现,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44371308/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com