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)
dio/android)
dio) #一开始缺少这个
原文链接:https://www.f2er.com/cocos2dx/345578.html需要自己手动把引用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)
dio/android)
dio) #一开始缺少这个
Box2D)
本人cocos2dx 2.x和3.x的源码淘宝地址(欢迎大家光顾):https://shop141567464.taobao.com/?spm=a313o.7775905.1998679131.d0011.pzUIU4
不懂的可以加我的QQ群: 239982941(cocos2d-x 3.x学习群)欢迎你的到来哦,看了博文给点脚印呗,谢谢啦~~