I’ve checked your android studio example, but it doesn’t work for me.
My app is a native app which almost all app was written in c++. Java part used only for lifecycle management and some platform specifics.
I’ve already integrated fmod core API in my iOS app (same base code), and now I just wanted to apply the same code to run on Android.
I linked all shared libraries (Android.mk) to my project as you did (in your example), I’ve no compilation errors, but fails to create system on run time due to internal error.
I tried also to include the jar and link it via java file, but it didn’t help.
(Do I have to link it via Java? even if I don’t have any api call from Java code?)
LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := fmod LOCAL_SRC_FILES := lib/android/$(TARGET_ARCH_ABI)/libfmod$(FMOD_LIB_SUFFIX).so LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/include include $(PREBUILT_SHARED_LIBRARY)