AndroidUn7zip
v1.6.0
Eine einfache Bibliothek mit LZMA SDK für die 7Z -Extraktion. (使用 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 ();Wenn Sie Proguard verwenden, müssen Sie möglicherweise die folgenden Optionen hinzufügen:
-keep class com.hzy.lib7z.** { *; }
