I started using xamarin in visual studio, and I installed visual studio android emulator. Emulator works flawlessly, but network on it doesn't. In settings it says it's connected, but browser can't open websites. I started windows phone emulator, and there network works without problem. When I started android emulator, it added two network adapters (see picture). In hyper-v virtual device settings for Android emulator, internal network adapter is set to windows phone adapter (see on picture), and external is set to Realtek bla bla bla. I tried deleting all virtual switches, deleting emulator and going all over again, and nothing helps. I assume the problem is in android emulator or hyper-v settings, because windows phone emulator works all right (it uses same internal adapter, but has no external in hyper-v settings). Does anyone have idea how to solve this? Thanks in advance!
Android 版 Visual Studio 模拟器的安装似乎可能出错。您可以在 Hyper-V 管理器中检查网络设置。
对于我使用的两个图像,它看起来像这样
Internal Network Adapter
External Network Adapter
因此,问题可能出在外部设置上,因为它无法连接到互联网。
我看到您有一个虚拟交换机,与我的英特尔网卡的虚拟交换机类似。如果您转到右侧选项菜单中的虚拟交换机管理器,则虚拟交换机的虚拟交换机属性应如下所示:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)