把.so放到jni目录
android.mk开始那里加---里面的内容,然后添加如下语句:
LOCAL_PATH:=$(callmy-dir)
#----------------------
#LinklibXXX.so
include$(CLEAR_VARS)
LOCAL_MODULE:=entryexpro
LOCAL_SRC_FILES:=libentryexpro.so
include$(PREBUILT_SHARED_LIBRARY)
#----------------------
include$(CLEAR_VARS)
LOCAL_MODULE:=cocos2djs_shared
LOCAL_MODULE_FILENAME:=libcocos2djs
android.mk开始那里加---里面的内容,然后添加如下语句:
LOCAL_PATH:=$(callmy-dir)
#----------------------
#LinklibXXX.so
include$(CLEAR_VARS)
LOCAL_MODULE:=entryexpro
LOCAL_SRC_FILES:=libentryexpro.so
include$(PREBUILT_SHARED_LIBRARY)
#----------------------
include$(CLEAR_VARS)
LOCAL_MODULE:=cocos2djs_shared
LOCAL_MODULE_FILENAME:=libcocos2djs
2..
原文链接:https://www.f2er.com/cocos2dx/344026.html