Putting "android Address family not supported by protocol" into Google
turned up a few entries suggesting the problem may be with the
contents of your hosts file.

Can you list the contents of your hosts file. You will find it in the
folder:

C:\WINDOWS\system32\drivers\etc


Lines that start with a # are comments.  My file only has the line:

127.0.0.1       localhost


See also:
http://groups.google.com/group/android-developers/browse_thread/thread/6c9bd1ce0e623b20/fa69d087980a3b2e?#fa69d087980a3b2e


--
RichardC
On Oct 20, 2:24 pm, Freeman Zhang <[email protected]> wrote:
> HI
> Thanks for reply.
>
> Cmd line:
> ------------------------------------------------------------------------------
> C:\Users\Freeman>adb devices
> List of devices attached
> emulator-5554   device
> -------------------------------------------------------------------------------
>
> Eclipse:
> [2009-10-20 21:20:56 - ddms]Failed to reopen debug port for Selected Client
> to: 8700
> [2009-10-20 21:20:56 - ddms]Address family not supported by protocol family:
> bind
> java.net.SocketException: Address family not supported by protocol family:
> bind
> at sun.nio.ch.Net.bind(Native Method)
> at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
> at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
> at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
> at com.android.ddmlib.MonitorThread.reopenDebugSelectedPort(Unknown Source)
> at com.android.ddmlib.MonitorThread.run(Unknown Source)
>
> [2009-10-20 21:22:18 - ddms]Can't bind to local 8600 for debugger
> [2009-10-20 21:22:24 - ddms]Can't bind to local 8601 for debugger
> [2009-10-20 21:22:24 - ddms]Can't bind to local 8602 for debugger
> [2009-10-20 21:22:28 - ddms]Can't bind to local 8603 for debugger
> [2009-10-20 21:22:32 - ddms]Can't bind to local 8605 for debugger
> [2009-10-20 21:22:35 - ddms]Can't bind to local 8606 for debugger
> [2009-10-20 21:22:37 - ddms]Can't bind to local 8607 for debugger
>
> Freeman.
>
> 2009/10/20 RichardC <[email protected]>
>
>
>
> > With the emulator running (start it manually if you have to), what
> > does
>
> > adb devices
>
> > show?
>
> > --
> > RichardC
>
> > On Oct 20, 6:38 am, Freeman Zhang <[email protected]> wrote:
> > > Hello, can anybody help me?
>
> > > 2009/10/19 Freeman Zhang <[email protected]>
>
> > > > HI
>
> > > > I'm a beginner on Android develop.
> > > > When I write my first "hello world", start to run the app, eclipse
> > report
> > > > "Can't bind to local 8600 for debugger"
> > > > and the emulator shows an error window, "Waiting For Debugger",
> > "Waiting
> > > > for the debugger to attach".
>
> > > > How to resolve it?
>
> > > > Thank you very much.
>
> > > > Regards,
> > > > Freeman
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to