AndroidUn7zip
v1.6.0
Una biblioteca simple con LZMA SDK para la extracción de 7Z. (使用 使用 Lzma SDK 解压 7Z 压缩包)
repositories {
maven { url ' https://jitpack.io ' }
}
dependencies {
implementation ' com.github.hzy3774:AndroidP7zip:v1.7.2 '
} dependencies {
implementation ' com.hzy:un7zip:+ '
} android {
.. .
defaultConfig {
.. .
ndk {
abiFilters ' armeabi-v7a ' , ' arm64-v8a ' , ' x86 '
}
}
} boolean extractFile ( filePath , outPath , callback );
boolean extractAsset ( assetManager , fileName , outPath , callback );
String getLzmaVersion ();Si está utilizando Proguard, es posible que deba agregar las siguientes opciones:
-keep class com.hzy.lib7z.** { *; }
