B4J Question Need to include META-INF in additional jar

xulihang

Active Member
Licensed User
Longtime User
I am trying to use webp-imageio-core. The jar has native libraries stored in META-INF.

It works when I run it in debug mode but not okay in release mode since the jar does not include the libraries and I have to manually add these libraries to the compiled jar.
 

tchart

Well-Known Member
Licensed User
Longtime User
Are you wrapping the library? Did you compile the library from source or download the JAR? The native libraries should be inside the JAR file.

If not you may need to wrap it. With a wrapper you can include additional binaries in the "additinal\lib\" folders (example below is for Android)

 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…