cocos creator 打包安卓运行报错,但是在浏览器上正常。

最近用 creator 写个游戏,一直用浏览器调试,但是今天发现,打包android之后,有一个功能用不了啦,报的是1605 child already added. It can’t be added again ,急。

这不是重复addChild了么,一个节点只能addChild一次,如果想要更换父节点可以写node.parent = xxxNode;