[Mono-dev] Using .so file in Android Library Project and then using it in an Android App

Burhan Eyuboglu burhaneyuboglu at gmail.com
Tue Nov 18 15:05:53 UTC 2014


While running my code on an Android Device, it gives that error:


[Mono] DllImport error loading library
'/storage/emulated/0/Android/data/LibraryDenemesi.LibraryDenemesi/files/.__override__/libcylibusb.dll':
'Cannot load library: load_library(linker.cpp:746): library
"/data/data/LibraryDenemesi.LibraryDenemesi/lib//storage/emulated/0/Android/data/LibraryDenemesi.LibraryDenemesi/files/.__override__/libcylibusb.dll"
not found'.

When I search for it I found that resource:
http://www.mono-project.com/docs/adv...oundexception/
<http://www.mono-project.com/docs/advanced/pinvoke/dllnotfoundexception/>

Where will my project find the cylibusb.so?

If in the /lib folder,  I'm unable to copy my cylibusb.so to /lib folder on
Android device, it gives "Read only file system " error.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20141118/7641d115/attachment.html>


More information about the Mono-devel-list mailing list