Monday, July 18, 2011

Android - Emulator DNS issue

Somehow, the Android emulator may use any network interface DNS server for resolving the address. It could be an issue if emulator use the wrong DNS server and cause address unresolved issue.

A few way could solve it

1. Controlling your emulator DNS

Use -dns-server X.X.X.X when you start up your emulator regardless from Eclipse or SDK Manager

2. Disable interfaces

Disable any network interface that are not using and restart your PC.

3. Disable and reenable your network interface

This may help your emulator to update the DNS server list it is using.

4. Flush your system DNS cache

At cmd, type ipconfig /flushdns

5. Check your DNS setting at your network adaptor

By using Windows Resource Monitor, you can see what DNS server is your emulator using. Check the DNS server validity. If necessary, change the DNS server setting at your network adaptor. Make sure the valid DNS server is at the top of the DNS server list as the Emulator may only read the first DNS on the list.


  1. Can u help me by telling how to debug native code in eclipse in windows?

  2. See if this helps


Tomcat - removing server info

Below are the steps to remove Tomcat Server Information 1. Make sure Tomcat is not running 2. Navigate to "Tomcat Installation"...