Needs help on debug

by Freeman Zhang » Mon, 19 Oct 2009 21:50:18 GMT


Sponsored Links
 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

--~--~---------~--~----~------------~-------~--~----~



Needs help on debug

by Freeman Zhang » Tue, 20 Oct 2009 13:39:56 GMT


 Hello, can anybody help me?

2009/10/19 Freeman Zhang <pcman.zh...@gmail.com>


--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Needs help on debug

by RichardC » Tue, 20 Oct 2009 16:38:13 GMT


 With the emulator running (start it manually if you have to), what
does

adb devices

show?

--
RichardC



--~--~---------~--~----~------------~-------~--~----~



Needs help on debug

by Freeman Zhang » Tue, 20 Oct 2009 21:25:37 GMT


 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 <richard.crit...@googlemail.com>



--~--~---------~--~----~------------~-------~--~----~



Needs help on debug

by RichardC » Tue, 20 Oct 2009 21:46:48 GMT


 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:



Needs help on debug

by Freeman Zhang » Tue, 20 Oct 2009 21:55:48 GMT


 h~~~ I Cmy hosts file just contains a IPv6 loop back address.
Thank you very much.

2009/10/20 RichardC <richard.crit...@googlemail.com>


--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. VIBRATE permission not showing on device or emulator

Hi,

Been wrestling with uses-permission in AndroidManifest.xml for about
1/2 a day, so I may be blinded by my frustration....

I've been cleaning up my app (removing debug code, experimental stuff
to blackbox things I didn't understand, etc.).  As part of this, I
removed some uses-permission elements from my manifest. After doing
so, I rebuilt, installed on emulator and a mytouch 3G, ran settings,
application manager, and checked the permission list. After chasing my
tail for about 5 hours (rant), I stumbled across issue 4101:

 
 http://www.***.com/ ;can=1&q=uses-permission&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars

That explained part of my problem (I was getting permission in the
installed application that were not set in my AndroidManifest.xml).
But after figuring that out, I'm still missing
android.permission.VIBRATE. The app runs and does use the {*filter*} on
the  mytouch. I checked my package using "aapt dump xmltree...", and
it is set in the apk version of the manifest.  I grep'ed the package
code mentioned in 4101 and didn't find vibrate anywhere.

Does anybody have any ideas why it isn't showing up in "settings-

-- 

2. Voip Rakyat

Ada yang punya account di voiprakyat.or.id ? Add mbois...@voiprakyat.or.id

Saya mau mencoba berhemat bandwith meskipun hanya untuk chat saja, seperti
kata Kang Onno kemarin.

-- 
"Indonesian Android Community [id-android]" 

3. Live Wallpaper Error

4. Android Appending Values Received From Server

5. How to get wifi account and password in code?

6. A problem about -rpath-link

7. Audio mixing