java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "__aeabi_memcpy8" referenced by mylib.so
<p>When my app runs in Android 6.0 or below devices(Nexus 5, Galaxy 3...), it crashes at System.loadLibrary("mylib");</p>

<p>It works fine with Android 7.0 devices(Nexus 5x, Nexus 9).
I use latest Android Studio(2.2) and NDK.</p>

<p>Log cat message is</p>

<p>java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "__aeabi_memcpy8" referenced by mylib.so.</p>

<p>Below is part of build.gradle.</p>

<pre><code>compileSdkVersion 24
buildToolsVersion '24.0.2'
defaultConfig {
    applicationId "myApp"
    minSdkVersion 10
    targetSdkVersion 24 // Whatever this is, it crashes(22, 19...).
    ndk {
        moduleName "mylib"
    }
}
</code></pre>

<p>Below is Application.mk</p>

<pre><code>APP_ABI := armeabi armeabi-v7a x86
APP_PLATFORM := android-10 // Whatever this is, it crashes.
</code></pre>

<p>What is the problem?</p>

<p>Even if I comment out all memcpy in .c files, it issues the same error message. Before I run, I clear and rebuild project.</p>