cocos2dx3.0导出android报错

error: undefined reference to ‘cocos2d::ui::Button::setTitleFontSize(float)’
undefined reference to ‘cocos2d::ui::Button::create(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, cocos2d::ui::Widget::TextureResType)’
error: undefined reference to ‘cocos2d::ui::Widget::addTouchEventListener(std::__1::function<void (cocos2d::Ref*, cocos2d::ui::Widget::TouchEventType)>)’
为什么会报错呢我都有引入的
MK文件

LOCAL_WHOLE_STATIC_LIBRARIES := cocos_freetype2_static
LOCAL_WHOLE_STATIC_LIBRARIES += chipmunk_static
LOCAL_WHOLE_STATIC_LIBRARIES += cocos2dxandroid_static
LOCAL_WHOLE_STATIC_LIBRARIES += cocos_gui_static
(call import-module,freetype2/prebuilt/android) (call import-module,chipmunk)
(call import-module,platform/android) (call import-module,ui)
$(call import-module,extensions)

:10: :10: :10: :10:

不是包含gui,而是要包含Cocos Studio:

LOCAL_WHOLE_STATIC_LIBRARIES := cocos2dx_static
LOCAL_WHOLE_STATIC_LIBRARIES += cocosdenshion_static
LOCAL_WHOLE_STATIC_LIBRARIES += box2d_static
LOCAL_WHOLE_STATIC_LIBRARIES += cocostudio_static


include $(BUILD_SHARED_LIBRARY)

$(call import-module,2d)
$(call import-module,audio/android)
$(call import-module,Box2D)
$(call import-module,editor-support/cocostudio)

```