title: How do I add -http-proxy to an android emulator launch from Android Studio 2.0
body: <p>I have a local dev web server running on a machine sitting next to me. </p>
  
  <p>I use a hosts file locally on my laptop to map an url to the machine and apparently the android emulator uses NAT and can't resolve the url.</p>
  
  <p>I wanted to configure the emulator to use Charles Proxy for all Internet traffic so that it will go through my laptop and pick up my hosts file for name resolution.</p>
  
  <p>The instructions <a href="https://www.charlesproxy.com/documentation/configuration/browser-and-system-configuration/" rel="noreferrer">here</a> say I need to set -http-proxy.</p>
  
  <p>How do I do that if I launch from Android Studio 2.0?</p>