Automic VaultAutomic Vault

brew

使用 Homebrew, chocolatey, apt, MacPorts, Nix, scoop 安装 apktool

查看 apktool 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install apktool

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install apktool

MacPorts ports tree · java/apktool/Portfile · 来源: api.github.com

Linux

Debian apt已验证 · 92%
sudo apt install apktool

Debian stable package indexes · apktool · 来源: deb.debian.org

Nix已验证 · 92%
nix profile install nixpkgs#apktool

nixpkgs package indexes · pkgs/by-name/ap/apktool/package.nix · 来源: api.github.com

Windows

Chocolatey已验证 · 92%
choco install apktool

Chocolatey community package catalog · apktool · 来源: community.chocolatey.org

Scoop已验证 · 92%
scoop install main/apktool

Scoop official bucket manifest trees · bucket/apktool.json · 来源: api.github.com

概览

软件包摘要

Tool for reverse engineering 3rd party, closed, binary Android apps

命令和别名

  • apktool

历史

项目历史与用法

Apktool is a long-running Java tool for decoding, modifying, and rebuilding Android APK files. It is one of the standard utilities in Android reverse engineering because it turns compiled resources, manifests, and smali code into a project-like tree that can be inspected and rebuilt.

项目历史

Apktool's current GitHub repository was created in March 2012, but the official release blog lists releases back to 0.9.0 and 1.0.0 in 2010. The README says the project is for reverse engineering third-party, closed, binary Android apps, especially decoding resources to near-original form and rebuilding after modifications.

The official site preserves a long release line from the 0.9 and 1.x era through 2.x and into 3.x. The 2.x line became the maintenance branch, while main became the 3.x branch. The project also moved its documentation site to Docusaurus-backed pages and keeps release notes on apktool.org.

Version 3.0.0 in 2026 was a major compatibility break. Official release notes describe dropping aapt1 and 32-bit platform support, modernizing resource parsing, changing output format details, replacing some old CLI names, and adopting a new default resource-resolution model. Version 3.0.2 followed as a security and performance patch.

采用历史

Apktool has broad package-manager adoption: the supplied metadata records Homebrew, Chocolatey, Debian, MacPorts, Nix, Scoop, and Ubuntu packages. The official site also links downloads, Maven artifacts, GitHub discussions, Stack Overflow, and IRC, reflecting a tool with both distro packaging and a long-lived user support footprint.

GitHub metadata showed nearly 25k stars and thousands of forks at research time. That scale is consistent with Apktool's role as a default dependency in mobile-security, app localization, Android modding, and APK compatibility workflows.

使用方式

The basic flow is apktool d file.apk to decode, edit the generated project-like tree, and apktool b folder to rebuild. Official docs explain why simply unzipping an APK leaves binary XML and compiled resource files that are not practical to edit directly.

The CLI exposes decode, build, install-framework, and clean-frameworks command families. Framework files can be stored or read from a user-specified frame path, but the official docs do not present that as a fixed config-file location, so no config-file-location is recorded here.

为什么软件包爱好者会关心

Apktool is package-nerd significant because it is both a package and a package unpacker: it lets users explode Android's signed ZIP-based application format into resources, smali, framework references, and rebuild metadata. That makes it the bridge between Android binary distribution and editable source-like trees.

Its long packaging history also makes it a compatibility benchmark. When Android resource formats, smali, aapt/aapt2, Java versions, or Linux distro policies change, Apktool's releases often encode the fallout for reverse-engineering workflows.

时间线

  • 2010: Official release blog lists Apktool 0.9.x and 1.0.0 releases.
  • 2012: Current GitHub repository was created.
  • 2015: Official blog records Apktool 2.0.0 and a Google Code shutdown migration note.
  • 2026: Apktool 3.0.0 became the major 3.x branch with CLI and resource-processing changes.
  • 2026: Apktool 3.0.2 shipped as a patch release for a security regression and disassembly performance.

Related projects

  • Apktool works in the Android reverse-engineering ecosystem alongside smali/baksmali, aapt/aapt2, dex tooling, Android framework files, and APK signing/build tools.

安全态势

风险级别:red

escape, surveillance, or offensive capability signal.

风险分类器

red 风险 · 中 置信度 · escape-surveillance-offensive

原因

  • escape, surveillance, or offensive capability signal

信号

  • text:reverse engineering

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 1 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
apktoolcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本3.0.2
管理器更新时间2026-06-15
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/iBotPeaches/Apktool

安装元数据

软件包元数据

软件包键brew:apktool
版本3.0.2
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/apktool
主页https://apktool.org
仓库https://github.com/iBotPeaches/Apktool
上游文档https://apktool.org/
许可证Apache-2.0
源码归档https://github.com/iBotPeaches/Apktool/releases/download/v3.0.2/apktool_3.0.2.jar
最后更新2026-06-15T10:20:10-04:00
Pulseupdated
依赖openjdk
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameapktool
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

apktool 2.7.0+dfsg-7

tool for reverse engineering Android apk files

https://ibotpeaches.github.io/Apktool/

sudo apt install apktool
  • Section: devel
  • Architecture: amd64
  • 15 依赖
  • normalized package name match
  • 匹配方式:Apktool
Debian stable package indexes · deb.debian.org · Debian stable package indexes: apktool from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

apktool

nix profile install nixpkgs#apktool
  • normalized package name match
  • 匹配方式:Apktool
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ap/apktool/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

apktool 2.7.0+dfsg-7

tool for reverse engineering Android apk files

https://ibotpeaches.github.io/Apktool/

sudo apt install apktool
  • Section: universe/devel
  • Architecture: amd64
  • 15 依赖
  • normalized package name match
  • 匹配方式:Apktool
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: apktool from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
MacPorts95%

apktool

sudo port install apktool
  • normalized package name match
  • 匹配方式:Apktool
MacPorts ports tree · api.github.com · MacPorts ports tree: java/apktool/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

apktool

choco install apktool
  • normalized package name match
  • 匹配方式:Apktool
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: apktool from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','ansicon'
Scoop95%

main/apktool

scoop install main/apktool
  • normalized package name match
  • 匹配方式:Apktool
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/apktool.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment