Hi, I found the problem
in file platform\android\CCPlatformDefine.h, there is a macro defined as:
#define CC_ASSERT(cond) \
if (! (cond)) \
char content; \
sprintf(content, "%s function:%s line:%d", __FILE__, __FUNCTION__, __LINE__); \
CCMessageBox(content, "Assert error"); \
The problem is that the CCMessageBox function, exists within namespace cocos2d. As the CC_ASSERT is called from CCScriptSupport.cpp, outside the USING_NS_CC declaration, it does not work.
I solved this issue by adding cocos2d:: before CCMessageBox call in file platform\android\CCPlatformDefine.h.
Hope this helps, maybe someone should add a new ticket for this.