error: localhost:5039: No connection could be made because the target machine actively refused it.

410 views
Skip to first unread message

jchanchawat

unread,
Mar 24, 2012, 7:02:01 AM3/24/12
to andro...@googlegroups.com
hi, I am following steps from 
http://blog.plicatibu.com/how-to-debug-cocos2d-x-and-java-code-using-eclipse/  
for building my cocos2d-x NDK project.


the error log of eclipse console says 

Warning: /c/Development/android-ndk-r7b/platforms/android-14/arch-arm/usr/include: No such file or directory.
Warning: /c/Development/android-ndk-r7b/sources/cxx-stl/gnu-libstdc++/include: No such file or directory.
Warning: /c/Development/android-ndk-r7b/sources/cxx-stl/gnu-libstdc++/libs/armeabi/include: No such file or directory.
(no debugging symbols found)
(no debugging symbols found)
131-gdb-set confirm off
131^done
(gdb) 
132-gdb-set width 0
132^done
(gdb) 
133-gdb-set height 0
133^done
(gdb) 
134-interpreter-exec console echo
134^done
(gdb) 
135-gdb-show prompt
135^done,value="(gdb) "
(gdb) 
136-gdb-set auto-solib-add on
136^done
(gdb) 
137-gdb-set stop-on-solib-events 0
137^done
(gdb) 
138-gdb-set stop-on-solib-events 1
138^done
(gdb) 
139-target-select remote localhost:5039
&"localhost:5039: No connection could be made because the target machine actively refused it.\n"
localhost:5039: No connection could be made because the target machine actively refused it.
139^error,msg="localhost:5039: No connection could be made because the target machine actively refused it."
(gdb) 
140-gdb-exit
140^exit

thnx in advance


Capture1.JPG
Capture2.JPG

mic _

unread,
Mar 26, 2012, 7:13:22 AM3/26/12
to andro...@googlegroups.com
Did you set up the port forwarding?  ( adb forward tcp:5039 tcp:5039 )

/Michael



--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/android-ndk/-/lsOO5WBCR4QJ.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-ndk...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.

Reply all
Reply to author
Forward
0 new messages