Tuesday 3 December 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:

Go to -> Window -> Preferences


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




Now create any new application and run your project.
Share and help others. Thanks... :)

8 comments:

  1. It is useful for me ..........

    ReplyDelete
    Replies
    1. the above solution doesn't resolved the warning
      :No DNS server found

      Delete
  2. Is there Any other solution for this

    ReplyDelete
  3. the above solution doesn't resolved the warning thanks

    ReplyDelete
  4. It doesn't work please other suggestion

    ReplyDelete
  5. please wait check and tell u all

    ReplyDelete
  6. please wait check and tell u all

    ReplyDelete
  7. What can i do if following error has been occurred...
    -invalid command-line parameter: dns-server.

    ReplyDelete