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.L
-- Forwarded message --
From: Jonathan Pryor
Date: 2014-11-25 17:47 GMT+02:00
Subject: Re: [Mono-dev] Using .so file in Android Library Project and then
using it in an Android App
To: Burhan Eyuboglu
On Nov 25, 2014, at 7:17 AM, Burhan Eyuboglu
wrote:
> I was trying to imp
8] ->
Mono.Android[0x5aa93670]: 3
[Mono] DllImport attempting to load: '/system/lib/liblog.so'.
[Mono] DllImport loaded library '/system/lib/liblog.so'.
[Mono] DllImport searching in: '/system/lib/liblog.so'
('/system/lib/liblog.so').
[Mono] Searching fo
he experts to chime in...
>
>
> On Wed Nov 26 2014 at 3:05:25 PM Burhan Eyuboglu
> wrote:
>
>> Is valid for adding .so file to
>> AndroidLibraryProject? I m not trying to add it to AndroidApplication
>>
>> 26 Kasım 2014 Çarşamba tarihinde, Rafael Teixeira
>>
1-28 12:32 GMT+02:00 Burhan Eyuboglu :
> Now, I can add .so file into the csproj. However, a new error occured:
> libcyusb.so is not a valid ELF.
>
> I think while building libcyusb in linux, I should add Android as target
> OS. Is that true? If it is, how can I add it to the ma