Click here to Skip to main content
15,904,415 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi.
i write android code in eclipse(indigo).i going to run this program but i see this error :

DNS server Emulator not found.

please help me for debug this error.
thank's
Posted

I think because can't connect to emulator, try to start emulator first, and run your project in eclipse if android is configured in eclipse (i mean if you've ADT plugin).

(don't forget to create an image, using avd manager)

(*I've a similar problem, when I run android project from eclipse, eclipse freeze, and this method has helped me)
 
Share this answer
 
Sometimes the emulator takes too long to start, and the Eclipse IDE times out before its started. In this case, bring up a command prompt, and execute
> adb kill-server
> adb start-server
once the emulator has been completely started. Now you should be able to connect to the emulator by starting a new debug session from the IDE.

The adb command can be found in your android installation directory under the sub-directory 'tools', or 'platform-tools', depending on your version. adb is the Android Debug Bridge, which connects the eclipse debugger with your preferred device.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900