[Mono-dev] Using .so file in Android Library Project and then using it in an Android App
Jonathan Pryor
jonpryor at vt.edu
Thu Dec 4 03:43:21 UTC 2014
On Dec 2, 2014, at 9:09 AM, Burhan Eyuboglu <burhaneyuboglu at gmail.com> wrote:
> When I add libcyusb.so, I got this error: "libcyusb.so is not a valid ELF executable"
Where do you get this error from? What's the overall context?
> I checked the library, libcyusb.so is not ELF, it is a linker, however libcyusb.so.1 is ELF 64 bit sharerd object. How can add libcyusb.so.1? Because android accepts lib prefix and so suffix.
Android wants a lib prefix and .so suffix. ".1" is not ".so"; if you managed to add libcyusb.so.1 to your .apk, it will *not* be installed.
Additionally, Xamarin.Android does not currently support 64-bit processors. (It's being worked on.) Consequently, you'll need to target a 32-bit ABI, e.g. armeabi-v7a.
Thanks,
- Jon
More information about the Mono-devel-list
mailing list