Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Loading Native Library

$
0
0

Hi all,

So I'm trying to invoke a .jar file which I've wrapped up with a DLL and the first call to the code at runtime throws a java.lang.UnsatisfiedLinkError--specifically findLibrary returned null. Now I've got a couple of questions:

1.) In the error message it's referencing gdndk--that literal string. However, the native library is called libgdndk.so. Do I need to rename the file? I would assume no; I did try naming it gdndk.so and that doesn't seem to help.

2.) What's the difference between AndroidNativeLibrary and EmbeddedAndroidNativeLibrary on the build action menu?

3.) What do I do with the project which wraps the jar? Do I need to AndroidNativeLibrary and/or EmbeddedAndroidNativeLibary with the .so in the Android Java Binding Libary project?

Any suggestions or even a pointer to a sample would be greatly appreciated.

-- Onorio Catenacci


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>