As far as I know, there is a difference between linux arm and android arm. Which tool chain should we use to compile libcyusb.so for Xamarin.Android?
2014-12-03 16:02 GMT+02:00 Agustin Gimenez <[email protected]>: > Android devices are (mostly) ARM and your library is x86-64, so you must > compile it for ARM processor. > > Cheers. > > 2014-12-03 14:47 GMT+01:00 Burhan Eyuboglu <[email protected]>: > >> 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? >> >> _______________________________________________ >> Mono-list maillist - [email protected] >> http://lists.ximian.com/mailman/listinfo/mono-list >> >> >
_______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
