mercredi 26 avril 2017

Cannot find "libc.so" in Xamarin project

I have compiled a C++ library with STL set to LLVM libc++ shared library (c++_shared). The library builds but a run time exception tells me that Android can't find libc.

The app is built with the Xamarin framework.

04-26 20:03:29.711 W/Mono (16037): DllImport unable to load library 'dlopen failed: cannot find "libc.so" from verneed[0] in DT_NEEDED list for "/data/app/Video22.Droid-1/lib/arm/libmedianativeinterface.so"'

How do I link the library to the Android version of libc?

Aucun commentaire:

Enregistrer un commentaire