Where can I get a JNA library with support for ARM64? The com.sun.jna_4.jar includes the native libjnidispatch.so library for ARM, but not for ARM64.
I'm getting an exception saying:
UnsatisfiedLinkError: Native library
(com/sun/jna/linux-aarch64/libjnidispatch.so) not found in resource path.
Download the android-aarch64.aar file from below link, https://github.com/java-native-access/jna/tree/master/lib/native
Unzip it, you will get libjnidispatch.so.
In your App jniLibs folder, create a folder /arm64-v8a and put the .so file there. jniLibs/arm64-v8a/libjnidispatch.so
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With