Android debug on eclipse

Hello.

Im trying to setup debugging on eclipse for Cocos2d-x HelloWorld app, but when I hit debug as Native Android Application Eclipse console shows the error below:

Error while obtaining file from device
com.android.ddmlib.SyncException: Writing local file failed!

The app is launched after but without debugging.

If I run ndk-gdb on the project via console apparently it works and waits for commands.

I think I missing something in eclipse/ndk config.