原生平台无法使用spine的getState方法?

2.4的版本,发布到安卓平台,游戏卡死,报错显示spine的getState()方法没有,web平台正常

很奇怪, this.node.getComponent(sp.Skeleton).getState()是存在的,但是继续调用 this.node.getComponent(sp.Skeleton).getState().clearListeners() 或者 addListener方法都不存在,这是为啥??我打印this.node.getComponent(sp.Skeleton).getState().timeScale 也是有值的

spineTest.zip (976.8 KB)

image

打包到安卓上,clearListeners方法没有,直接卡死