0

I have to debug a c# application for Android that use a socket to connect to a desktop pc using an UDP connection. The problem is that from the Emulator I can't setup the network. I tried enabling WiFi but no emulated WiFi was available. Is it related to the emulator version 25.2.5-3567187 currently not updated to the latest version 26.1.1-4333796 (Stable update channel) for the missing tools as explained here ?

Here,

Is there a workaround to setup a connection between emulator and other device in the same network?

Also why in emulator setting (...) there aren't advanced options.

Paolo P.
  • 1
  • 3

2 Answers2

0

Try setting the DNS to google's 8.8.8.8. You do that by long press the Network you're connected to, and tap Modify Network. Try changing IP settings to Static, instead of DHCP.

If that doesn't work try disabling the network card of the PC. Read more here.

RonTLV
  • 2,376
  • 2
  • 24
  • 38
0

About the AndroidWiFi I tested that is available only on the Android SDK Tool version 26.1.1-4333796. So in Visual Studio if you want use the android emulator, I suggest to use the last Android SDK Tool version (instead of 25.2.5-3567187) with the Xamarin Android Device Manager.

Paolo P.
  • 1
  • 3