How to print on console with Eclipse?

Hi!

I’m a little noob with android ndk development. I’ve been following all the tutorials about merge iphone and android projects, and debugging with Eclipse. I’ve setup a project that can compile and run cocos2dx on android with Eclipse.

My problem its that I can’t print to Eclipse console from C++ code. I’ve tried with cout and printf, but nothing appears on the log.

¿Is there any way to configure my output correctly and print strings and variables?

Thanks in advance

cocos2d::CCLog() can print on different platforms.

Many thanks!

My LogCat could not detect the device correctly, now works perfectly with CCLog()

:smiley: