libarchive built with Android NDK, packaged as an Android library with some Java binding.
The bundled libarchive is built with libz, libbz2, liblzma, liblz4, libzstd and libmbedcrypto.
This is not an officially supported Google product.
Gradle:
implementation 'me.zhanghai.android.libarchive:library:1.1.4'
See Archive.java
and
ArchiveEntry.java
, which
contain the Java bindings for
archive.h
and
archive_entry.h
.
See also
MainActivity.java
for an example on how to use this library to read archive files.