Can't output texture memory info with CCTextureCache::sharedTextureCache()->dumpCachedTextureInfo();

I call:

CCTextureCache::sharedTextureCache()->dumpCachedTextureInfo();

From one of my main layers and it doesn’t output anything.

I have COCOS2D_DEBUG = 2 in my preprocesser macros.

Make sure you are setting that in the Android.mk file for the cocos2dx library, not just in your game library Android.mk file.