Xamarin Android仿真器错误:";设备错误:System.ComponentModel.Win32Exception(0x80004005):指定的可执行文件不是有效的;

Xamarin Android仿真器错误:";设备错误:System.ComponentModel.Win32Exception(0x80004005):指定的可执行文件不是有效的;,xamarin,xamarin.android,android-emulator,Xamarin,Xamarin.android,Android Emulator,到今天为止,Android模拟器在很长一段时间内运行良好。我突然发现以下错误: Device error: System.ComponentModel.Win32Exception (0x80004005): The specified executable is not a valid application for this OS platform. at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInf

到今天为止,Android模拟器在很长一段时间内运行良好。我突然发现以下错误:

Device error: System.ComponentModel.Win32Exception (0x80004005): The specified executable is not a valid application for this OS platform.
   at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
   at Xamarin.DeviceManager.Common.EmulatorManager.<>c__DisplayClass61_0.<StartProcess>b__0()
设备错误:System.ComponentModel.Win32Exception(0x80004005):指定的可执行文件不是此操作系统平台的有效应用程序。
在System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo-startInfo)
在Xamarin.DeviceManager.Common.EmulatorManager.c__显示类61_0.b_0()中

我检查并尝试了它的解决方案。目录“C:\Program Files(x86)\Android\Android sdk\build tools\28.0.3”中的aapt.exe正常。 我重新启动了Visual Studio并重新启动了我的电脑,但没有用。
我想知道是否有人可以提供有关如何解决此问题的提示。

,您可以尝试单击一个模拟器,然后单击“编辑”,更改第一个属性,将800M更改为4000M,然后重试。@CherryBu MSFT感谢您提供的提示。下次我会试试的。我访问了Android SDK和工具并尝试重新安装一些东西,但它要求我进行修复,我完成了,然后模拟器开始工作。很高兴听到您已经解决了问题,感谢在这里分享您的解决方案。