I'm using the latest code checked out from GitHub. (0.13.0 beta)
I'm developing for Android with Eclipse. I did added *COCOS2D_DEBUG* in Android.mk. I checked and made sure that COCOS2D_DEBUG was indeed defined with the value of 1.
Problem: CCLog won't print anything to the LogCat. In the meantime, CCMessageBox works well.
(I then tested the same set of code on iOS, both CCLog and CCMessageBox work well.)
What am I missing here?
Just wondering two thing: 1. are you using CCLog or CCLOG (all big case)?
did you put
#define COCOS2D_DEBUG 1
at the really top (higher than any #include) in the cpp file that you wanna debug?
Use CCLOG("Test String"), all upper case, it will work. CCLog("Hello") don ´t work in eclipse log cat.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With