omicronapps / 7-Zip-JBinding-4Android

Android Java wrapper for 7z archiver engine
GNU Lesser General Public License v2.1
121 stars 24 forks source link

at net.sf.sevenzipjbinding.SevenZip.loadNativeLibraries(SevenZip.java:686) #18

Open pickupsb opened 2 years ago

pickupsb commented 2 years ago

i have compiled it but it seems i can't use it directly. where should i put the library name in?

omicronapps commented 2 years ago

On Android devices, loadNativeLibraries() will load native library "lib7-Zip-JBinding.so" with System.loadLibrary().

However, don't call loadNativeLibraries() directly; this is a private method. Also, don't set the library name manually.

Instead, call one of the public SevenZip methods. This will ensure that `the native library is loaded automatically:

There are examples in README.md and Documentation on how to use 7-Zip-JBinding.