怎么把so打包打包进apk
1个回答
2016-03-29
展开全部
把.so 放到 jni 目录
android.mk 开始那里加 ---里面的内容
LOCAL_PATH := $(call my-dir)
# ----------------------
# Link libXXX.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 := $(call my-dir)
# ----------------------
# Link libXXX.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
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询