I'm trying to import Y.C.Tung's AndroidLibSVM into my project, but when i run the code on my Android 6.0.1 Tablet, i get this error:
java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "__aeabi_memcpy"
According to this post or this one among a few others, the error can be fixed by upgrading the APP-PLATFORM in the NDK's application.mk/android.mk to match the targetSDKversion of the applikation. However, i cannot find these .mk files. They should be
"in a subdirectory of your project's jni/ directory",
but I don't know where that is as well. This is my build.gradle:
apply plugin: 'com.android.application'
android {
compileSdkVersion 28
defaultConfig {
applicationId "com.krautkremer.nils.mymirror"
minSdkVersion 23
targetSdkVersion 28
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
externalNativeBuild {
cmake {
cppFlags ""
}
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
packagingOptions {
exclude 'META-INF/proguard/androidx-annotations.pro'
}
externalNativeBuild {
cmake {
path "CMakeLists.txt"
}
}
}
I don't know much about the NDK and i'm quite new to Java/Android/Android Studio/Gradle. Appreciate the help!