用于Android OpenGL错误的Visual Studio模拟器 [英] Visual Studio Emulator for Android OpenGL Error

查看:182
本文介绍了用于Android OpenGL错误的Visual Studio模拟器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Xamarin.Forms为Android开发应用程序,每当我调试并使用Visual Studio模拟器安卓时,我都会收到此错误:


OpenGL错误已经发生:


无法连接到169.254.76.233:3556!


模拟器现在将关闭。



以下是链接:  http://i.imgur.com/CH2c8ej.png


我总是会遇到此错误模拟器已经运行了一次应用程序。当我最初调试应用程序并打开模拟器时,我有时会得到它。有任何想法吗?这个模拟器一直是最不痛苦的起床和运行保存这个恼人的错误
我不断得到。但是当它工作时,它会产生奇迹。 

解决方案

您好NMollaneda,


谢谢对于你的帖子。


请尝试以下方法:


1)打开管理员命令提示符并运行以下命令



  • net localgroup administrators
  • net localgroup administrators LOCAL / delete
  • net localgroup administrators SERVICE / delete

2)打开设备管理器,然后单击视图 - >显示隐藏设备。转到网络适配器并卸载所有内容。  然后右键单击设备管理器的根目录并选择检测硬件更改以重新安装网络适配器。


3)卸载Hyper-V


4)重新启动


5)重新安装Hyper-V


6)尝试运行虚拟机。


另请参阅以下有关Android版Visual Studio仿真器故障排除的文档


https://msdn.microsoft.com/en-us/library/mt228282.aspx



最佳此致,


Lake Xiao






I'm developing an app for Android using Xamarin.Forms and whenever I debug and use the Visual Studio emulator for android, I get this error:

An OpenGL error has occured:

Failed to connect to 169.254.76.233:3556!

The emulator will now shutdown.

Here is the link: http://i.imgur.com/CH2c8ej.png

I ALWAYS get this error when the emulator has already ran the application once. I sometimes get it when I initially debug the app and the emulator opens. Any ideas? This emulator has been the least pain to get up and running save for this one annoying error I keep getting. But when it works, it works wonders. 

解决方案

Hi NMollaneda,

Thanks for your post.

Please try this following:

1) Open an Admin Command Prompt and run the following commands

  • net localgroup administrators
  • net localgroup administrators LOCAL /delete
  • net localgroup administrators SERVICE /delete

2) Open Device Manager and click on View -> Show Hidden Devices. Go down to Network Adapters and uninstall everything.  Then right click at the root of Device Manager and select Detect hardware changes to reinstall your network adapters.

3) Uninstall Hyper-V

4) Reboot

5) Reinstall Hyper-V

6) Attempt to run Virtual machine.

Please also take a look at the following document about Troubleshooting the Visual Studio Emulator for Android

https://msdn.microsoft.com/en-us/library/mt228282.aspx

Best Regards,

Lake Xiao



这篇关于用于Android OpenGL错误的Visual Studio模拟器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆