OSGI Bundle-NativeCode give error “No match found for native code”
问题 I'm developing an OSGI bundle which uses the native library librxtxSerial . The first time, I had to deploy this bundle on a raspberry, so I've did something like that: I put the native library under: lib/librxtxSerial.so (NB: INSIDE the java project). Then, in the MANIFEST I've wrote: Bundle-NativeCode: lib/librxtxSerial.so Everything works fine!!! Now, the problem is that I've to deploy the same bundle on other embedded device which uses a different processor architecture (x86 instead ARM).