7-Zip-JBinding-4Android
7-Zip-JBinding-4Android copied to clipboard
at net.sf.sevenzipjbinding.SevenZip.loadNativeLibraries(SevenZip.java:686)
i have compiled it but it seems i can't use it directly. where should i put the library name in?
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:
-
openInArchive()
-
getSevenZipVersion()
-
openOutArchiveZip()
-
openOutArchive7z()
-
openOutArchiveTar()
-
openOutArchiveBZip2()
-
openOutArchiveGZip()
-
openOutArchive()
There are examples in README.md and Documentation on how to use 7-Zip-JBinding.