Need Help: .jnilib library cannot be found

I am building a library using Eclipse (suggested by the official tutorial) and I need it to tun with a .jnilib. Now, It can be built successfully, and all the method not calling .jnilib could work. But this error message pops up everytime I call the functions running with .jnilib: A library relies on native code that's not available.Or only works properly when the sketch is run as a 32-bit application.

I'm sure this .jnilib is in java.libray.path. There are no linking issues when I called System.loadLibrary("xxx");. The structure in my library "Mylibrary" is like this:

reference library - .jnilib - mylibrary.jar src - mine -library -*.java (my codes) Anyone know how to solve this?

Tagged:
Sign In or Register to comment.