Andriod的CocoStudio和NetWork环境,要在Android.mk中增加:
LOCAL_WHOLE_STATIC_LIBRARIES += cocos_extension_static
LOCAL_WHOLE_STATIC_LIBRARIES += cocos_gui_static
LOCAL_WHOLE_STATIC_LIBRARIES += cocostudio_static
LOCAL_WHOLE_STATIC_LIBRARIES += cocos_network_static
$(call import-module,gui)
$(call import-module,editor-support/cocostudio)
$(call import-module,network)
注:
Android下引用头文件要加路径:
#include
"extensions/cocos-ext.h"
#include
"network/HttpClient.h"