Hey I am trying to set up a android studio project with JNA and libvirt java bindings.
This is what the project structure looks like so far.
however the soluti
Include the libjnidispatch.so
shared library for all the Android ABIs that your project supports.
Unzip the package, navigate to jna-4.5.0/dist/
directory. libjnidispatch.so
for different ABIs can be extracted from respective jar file. The mapping is as below illustrated in below table.
| JNA ABI | Android ABI |
| ------------------- | ------------- |
| android-aarch64.jar | arm64-v8a |
| android-armv7.jar | armeabi-v7a |
| android-x86-64.jar | x86_64 |
| android-x86.jar | x86 |
libjnidispatch.so
into the mapped Android ABI folder, for example, arm64-v8a
, armeabi-v7a
, x86
and x86_64
.