Couldn't Load Library From Loader
I have a problem loading some .dll libraries through my android app, in fact there is tons of questions about this issue but not any one of them solves my problem, the following is
Solution 1:
You're missing JNA's own native support. See this question.
Note that you'll need to follow Android's specific rules for bundling and loading native code with your app.
EDIT
Specifically, your project must include the resource path
com/sun/jna/<arch-specific>/libjnidispatch.so
JNA will look for your native libraries under
<arch-specific>/<mapped-library-name>
You can set the system properties -Djna.debug_load=true
and
-Djna.debug_load.jna=true
and JNA will emit to stdout where it's looking for your libraries and its own, respectively.
JNA provides the value for <arch-specific>
in Platform.RESOURCE_PREFIX.
Post a Comment for "Couldn't Load Library From Loader"