Pages

Monday, 27 May 2013

Warning: No DNS servers found in Android Eclipse

Mostly new android users face this problem when they install Android eclipse and run any created project than the below error comes on console of android eclipse and project does not run :-

Warning: No DNS servers found

It does not mean that your application has any error. See the solution:

..........................................................Solution........................................................

Go to -> Window -> Preferences

Warning: No DNS servers found in Android Eclipse
Window -> Preferences

Android -> Launch -> Default Emulator Option ->
paste this: -dns-server 8.8.8.8,8.8.4.4
than Apply -> OK

Warning: No DNS servers found in Android Eclipse
Paste -dns-server 8.8.8.8,8.8.4.4 and Apply

Now create any new application and run your project.
For more related to android tutorial see List of Android Tutorials. Share and help others.

Related Tutorials:-

Extract APK File into source code (Java code and XML code)

Run two or more instances of emulator at a time

Emulator error at runtime: std::bad_alloc

Swipe Left and Right using Gesture Detection

Custom Left-Right and Up-Down Slide Show

8 comments:

  1. wow! i have been looking for ages on this prob and this is the clearest explanation of the solution i ever did see. thank you

    ReplyDelete
  2. not work in win 7

    ReplyDelete
  3. Another solution....pls
    It didn't work....

    ReplyDelete

Back to Top