title: Visual Studio Xamarin and Android emulator without internet connection
body: <p>I'm developing a Xamarin project using Visual Studio 2015.</p>
  
  <p>The issue is that I'm not able to start the Android Emulator from Visual Studio using Internet. I'm behind a proxy.</p>
  
  <p>Using <code>HttpWebRequest</code>, I get the error: </p>
  
  <blockquote>
    <p>System.Net.WebException: Error: ConnectFailure (Network is
    unreachable)</p>
  </blockquote>
  
  <p>I check out the emulator and no Internet connection detected:</p>
  
  <p><a href="https://i.stack.imgur.com/hLyMx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hLyMx.png" alt="enter image description here"></a></p>
  
  <p>I was able to start the emulator setting the proxy/dns using command line (using <code>emulator.exe -avd avdName -dns-server 192.168.1.1</code>), but not from Visual Studio.</p>
  
  <p>My question is: is there any way to set proxy/dns configuration to Android Emulator from Visual Studio or in any configuration file, like .ini, or config.ini in Avd folder, or any other way?</p>