java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol “__aeabi_memmove4”

1.4k views Asked by At

When I run this example (https://github.com/alex011235/FaceSwap) I found this type of runtime error in Android Studio. I can select two images but when I click the button to swap the face, it crashed and the message show in logcat:

com.tzutalin.dlibtest E/AndroidRuntime: FATAL EXCEPTION: main Process: com.tzutalin.dlibtest, PID: 31370

java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "__aeabi_memmove4" referenced by "/data/app/com.tzutalin.dlibtest-2/lib/arm/libnativefaceswap.so"...

at java.lang.Runtime.loadLibrary(Runtime.java:372)

at java.lang.System.loadLibrary(System.java:1076)

at com.alex.faceswap.FaceSwap.(FaceSwap.java:57)

at com.alex.faceswap.ActivitySelfieSwap$1.run(ActivitySelfieSwap.java:168)

at android.os.Handler.handleCallback(Handler.java:739)

at android.os.Handler.dispatchMessage(Handler.java:95)

The row that make me get error is the following row (FaceSwap.java:57).

System.loadLibrary("nativefaceswap");

I hope to get use of this example and I cannot solve this problem.

0

There are 0 answers