Including a prebuilt shared object file in an NDK project
问题 I am working on including a shared object file onto the Android OS image through the NDK project. The android.mk file looks like this LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := Myaccessories LOCAL_SRC_FILES := libMyaccessories.so include $(PREBUILT_SHARED_LIBRARY) And I have added the "libMyaccessories.so" to the jni folder where the android.mk is located. On ndk-built, it results in error which is as below Prebuilt : libMyaccessories.so <= jni/ Install :