Dear All,
I am trying to develop an APK using ndkr10c containing 32bit( armeabi-v7a) and 64bit (arm64-v8a) shared libraries together.
there will be No interaction between these two libraries.
-----------------------
#build library 1
include $(CLEAR_VARS)
LOCAL_PATH := $(TOP_PATH)/ndk32/
LOCAL_MODULE := HelloJNI
LOCAL_C_INCLUDES := $(LOCAL_PATH)
LOCAL_SRC_FILES := HelloJNI.c
include $(BUILD_SHARED_LIBRARY)
#build library 2
include $(CLEAR_VARS)
LOCAL_PATH := $(TOP_PATH)/ndk64/
LOCAL_MODULE := HelloJNI2
LOCAL_C_INCLUDES := $(LOCAL_PATH)
LOCAL_SRC_FILES := HelloJNI.c
include $(BUILD_SHARED_LIBRARY)
-----------------------
how to make a APK containing two shared libraries with different ABI version. I have seen that using Application.mk file, we are able to set APP_ABI, but this ABI version is applicable to across all shared libraries under JNI,
As shown in the above code example, i wanted to make library1 to generate 32 bit shared library & library 2 to generate 64 bit shared library and create single APK containing HelloJNI.so(32bit) and HelloJNI2(64bit)
Thanks