百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
A

AndroidUn7zip

> 编程语言
开源

一个简单的 android ndk 库用来简单地取出lzma 7z文件.

368 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

一个简单的 android ndk 库用来简单地取出lzma 7z文件.

AndroidUn7zip(安卓7zip解压)

A simple library with lzma sdk for 7z extraction.(使用LZMA SDK解压7z压缩包)

auc api

Introduction

  • 官方网站:https://www.7-zip.org/sdk.html
  • 7z is the new archive format, providing high compression ratio.

Begin To Use

  • Add gradle dependencie:
gradle
repositories {
    maven { url 'https://jitpack.io' }
}

dependencies {
   implementation 'com.github.hzy3774:AndroidP7zip:v1.7.2'
}
gradle
dependencies {
    implementation 'com.hzy:un7zip:+'
}
  • Or just download the aar here
  • If you want to add some abi filters
gradle
android {
    ...
    defaultConfig {
        ...
        ndk {
            abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86'
         }
    }
}

Java API:

java
boolean extractFile(filePath, outPath, callback);
boolean extractAsset(assetManager, fileName, outPath, callback);
String getLzmaVersion();

ProGuard

If you are using ProGuard you might need to add the following options:

-keep class com.hzy.lib7z.** { *; }

Fetures

  • easily extract 7z from file
  • directly extract 7z from assets
  • unicode file names is available
  • add extract callbacks

Screenshot

Thanks To

  • danhantao offered X86 compiled(修复了X86编译问题)
  • ransj offered the way to extract 7z file from assets directly(添加了直接从assets解压的功能)

About Me

  • GitHub: https://huzongyao.github.io/
  • ITEye博客:https://hzy3774.iteye.com/
  • 新浪微博: https://weibo.com/hzy3774

Contact To Me

  • QQ: 377406997
  • Gmail: [email protected]
  • Foxmail: [email protected]
  • WeChat: hzy3774

Others

  • 想捐助我喝杯热水(¥0.01起捐)

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Candroidcextract-7z

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言