[Mono-list] Using .so file in Android Library
Burhan Eyuboglu
burhaneyuboglu at gmail.com
Wed Dec 3 13:47:44 UTC 2014
I have a native library named libcyusb.so, I need to use it in the Android
Library, I have added it to the project, and made it Build Action as
EmbeddedNativeLibrary.
In my Android Library Project, there was no lib file, so I have created a
lib file and armeabi-v7a file into the lib file. (lib/armeabi-v7a) Then, I
have put the libcyusb.so to that directory.
When I run the project, it gives that error:
libcyusb.so is not a valid ELF executable.
When I check libcyusb.so's output, it is:
libcyusb.so: ELF 64-bit LSB shared object, x86-64, version 1(SYSV),
dynamically linked, BuildID[sha1]=eea583b4963ed7b949715e43f88714b58af23725,
not stripped
I need to know, why it is not valid. Am I doing something wrong?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20141203/363ffde0/attachment.html>
More information about the Mono-list
mailing list