title: Android emulator cannot resolve internet address
body: <p>When I run this code from Java project it works fine.</p>
  
  <pre><code>InetAddress ia=null;
      try {
          ia = InetAddress.getByName("www.google.com");
      } catch (UnknownHostException e) {
          e.printStackTrace();
      }
      System.out.println(ia.getHostAddress());
  </code></pre>
  
  <p>When i try the same code from emulator (already tried few versions) I'm getting UnknownHostException. Internet works fine on emulator and I'm able to connect to IP address like "93.86.230.251" but never to hostname "something.org".</p>
  
  <p>Please help</p>