Android工程环境下jni/android.mk
需要自己手动把引用cocostudio引用库添加上才可以编译
代码参考如下
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,editor-support/cocostudio) #一开始缺少这个
$(call import-module,Box2D)
需要自己手动把引用cocostudio引用库添加上才可以编译
代码参考如下
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,editor-support/cocostudio) #一开始缺少这个
$(call import-module,Box2D)