diff --git a/build.gradle b/build.gradle index f2c4f33..6f1bcff 100644 --- a/build.gradle +++ b/build.gradle @@ -30,6 +30,14 @@ android { path 'src/main/jni/Android.mk' } } + + defaultConfig { + externalNativeBuild { + ndkBuild { + abiFilters 'armeabi', 'armeabi-v7a', 'mips', 'x86' + } + } + } } android { diff --git a/src/main/jni/Android.mk b/src/main/jni/Android.mk index 19bb308..c191cd5 100644 --- a/src/main/jni/Android.mk +++ b/src/main/jni/Android.mk @@ -83,7 +83,7 @@ LOCAL_C_INCLUDES := \ LOCAL_ARM_MODE := arm -LOCAL_MODULE := synth +LOCAL_MODULE := sonivox # LOCAL_COPY_HEADERS_TO := libsonivox # LOCAL_COPY_HEADERS := \ @@ -132,7 +132,7 @@ include $(CLEAR_VARS) LOCAL_MODULE := midi LOCAL_SRC_FILES := midi.cpp LOCAL_C_INCLUDES := $(LOCAL_PATH)/host_src -LOCAL_SHARED_LIBRARIES := synth +LOCAL_SHARED_LIBRARIES := sonivox LOCAL_LDLIBS := -lOpenSLES -llog include $(BUILD_SHARED_LIBRARY)