添加需要共享库的预构建APK

时间:2011-01-31 15:22:05

标签: android shared-libraries apk

libs打包在lib目录下的apk中。

1 个答案:

答案 0 :(得分:2)

将您的共享库复制到system / lib,如:

PRODUCT_COPY_FILES += \
    $(LOCAL_PATH)/libcom_googlecode_android_scripting_Exec.so:system/lib/libcom_googlecode_android_scripting_Exec.so \
    $(LOCAL_PATH)/liborg_connectbot_util_EastAsianWidth.so:system/lib/liborg_connectbot_util_EastAsianWidth.so