cocos2dx.cpp: Line: 1658, Function: js_cocos2dx_CCNode_addChild Cocos2d: Invalid Native Object


#1

hi,
i’m a new cocos2d-x with js.
i want to add a extended class of cclayer.
but an error happend like title “cocos2dx.cpp: Line: 1658, Function: js_cocos2dx_CCNode_addChild Cocos2d: Invalid Native Object”
i tried to add the example “TestController” to my code, and the error appeared too.
so……
anybody can help me
and any docs with cocos2d-x with js for new