Spine runtime error on Android target

Hi, I’ve just joined this forum, and find Cocos2d-x 3.0alpha1 really amazing so far.

I want to integrate spine runtime using this code :
https://github.com/EsotericSoftware/spine-runtimes/tree/master/spine-cocos2dx/

It works great on windows target, but fails on Android target.
This is the error I got when I run build_native.py :

[armeabi] SharedLibrary : libcocos2dcpp.so
jni/…/…/Classes/ExampleLayer.cpp:58: error: undefined reference to ‘spAnimatio
nState_getCurrent’
jni/…/…/Classes/ExampleLayer.cpp:23: error: undefined reference to ‘spine::CCS
keletonAnimation::createWithFile(char const**, char const**, float)’
>
… still so many errors after libcocos2dcpp.so
>
collect2.exe: error: ld returned 1 exit status
make.exe: * [obj/local/armeabi/libcocos2dcpp.so] Error 1

And this is my Android.mk file

LOCAL_PATH := $(call my-dir)
>
include $(CLEAR_VARS)
>
LOCAL_MODULE := cocos2dcpp_shared
>
LOCAL_MODULE_FILENAME := libcocos2dcpp
>
>
LOCAL_SRC_FILES := hellocpp/main.cpp > …/…/Classes/AppDelegate.cpp > …/…/Classes/ExampleLayer.cpp
>
SRC_LIST := $(wildcard) (c:/spine-runtimes-master/spine-c/src/spine/*.c)
LOCAL_SRC_FILES = $/=)
>
SRC_LIST := $
LOCAL_SRC_FILES
= $(SRC_LIST:$(LOCAL_PATH)/=)
>
>
LOCAL_C_INCLUDES := $(LOCAL_PATH)/…/…/Classes > C:/spine-runtimes-master/spine-c/include > C:/spine-runtimes-master/spine-cocos2dx/src
>
>
>
LOCAL_WHOLE_STATIC_LIBRARIES := cocos2dx_static
>
include $(BUILD_SHARED_LIBRARY)
>
$(call import-module,2d)

Any clues?

Thanks in advance…

you has purchased spine, too?
I have got one, either~

You probably dont need it anymore but since this pops up in google search this might help anyone coming across the Error “undefined reference to…” after updating the spine runtime. You have to update the Android.mk file aswell and add the different new files. There is a seperate Android.mk in the Spine runtime folder!