androguard
Androguard is a full python tool to play with Android files.
What it is and what it does
Androguard is a comprehensive Python framework for static and dynamic analysis of Android applications. It can parse and extract information from APK files, DEX/ODEX bytecode, Android binary XML, and resource files. The package includes a basic decompiler for DEX bytecode, disassembly capabilities, and integration with Frida for dynamic analysis. It also supports saving analysis sessions to SQLite databases.
The tool is widely used in mobile security research, malware analysis, and app auditing. It serves as a foundation for higher-level security frameworks and is actively maintained, though versions 4.0.0 and later introduced breaking changes from the 3.3.5 release. The package has 14 runtime dependencies including cryptography, lxml, networkx, and IPython, providing a rich ecosystem for programmatic Android app inspection.
Use it for:
- Analyze APK files to extract package names, permissions, activities, and other metadata for security audits.
- Disassemble and decompile DEX bytecode to review application logic and identify potential vulnerabilities.
- Integrate Android app analysis into automated security scanning pipelines or malware detection systems.
- Perform dynamic analysis using Frida integration to monitor app behavior at runtime.
- Build custom Android security tools or frameworks that need programmatic access to app internals.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Androguard is a Python tool for analyzing, disassembling, and decompiling Android application files (APK, DEX, ODEX) and extracting metadata from Android binary resources.
Yes, if you need to analyze Android applications programmatically. The package is actively maintained, has low install friction, permissive licensing, and is battle-tested in production security tools. Be aware that version 4.1.4 represents a substantial rewrite from earlier releases, so existing code may need updates. Documentation is incomplete but improving.
Install
androguard on PyPI
pip
pip install androguarduv
uv add androguardpoetry
poetry add androguardInstalling androguard
Before you install
Low friction installation with a pure-Python wheel. Active maintenance with recent releases; the project underwent substantial changes in version 4.0.0 and later, so some older workflows may need adjustment.
License in practice
Licensed under Apache License 2.0 (permissive). You can use, modify, and distribute the software freely as long as you include a copy of the license and state significant changes.
Quickstart
pip install androguard
from androguard.apk import APK
apk = APK('path/to/app.apk')
print(apk.get_package())
Requires Python 3.9 or later; earlier Python versions are not supported.
Verify before relying
- Whether the decompiler output is suitable for production reverse-engineering workflows or primarily for analysis.
- Current state of documentation accuracy given the note that it is 'in progress of updating'.
- Stability of the Frida integration for dynamic analysis across different Android versions.
Package facts
| License | Apache Licence, Version 2.0 (permissive) |
| Python support | supports the current Python release (!=2.7.*,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,!=3.7.*,!=3.8.*,>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 14 — apkInspector, asn1crypto, click, colorama, cryptography, dataset, ipython, loguru, lxml, mutf8, networkx, pydot, pygments, pyyaml |
| Maintenance | actively maintained — 74 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 2,158,671/month — #3,243 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: androguard-4.1.4-py3-none-any.whl
Tags
More Security packages
Provides Python bindings to the FreeDesktop.org…
permissive · top 1,000 on PyPI
msalMSAL for Python handles OAuth2 and OpenID…
permissive · top 1,000 on PyPI
joserfcjoserfc implements JOSE standards (JWS, JWE,…
permissive · top 1,000 on PyPI
AuthlibAuthlib provides a complete implementation of…
permissive · top 1,000 on PyPI
argon2-cffi-bindingsProvides low-level CFFI bindings to the…
permissive · top 1,000 on PyPI
adalADAL for Python authenticates applications with…
permissive · top 1,000 on PyPI
pyaxmlparserParses Android APK files to extract metadata…
permissive · top 15,000 on PyPI
apkInspectorParses APK files according to the zip…
permissive · top 5,000 on PyPI
apkutils2Parses Android APK files to extract and display…
permissive · top 15,000 on PyPI
mobsfscanmobsfscan is a static analysis tool that…
copyleft · top 15,000 on PyPI
mozdeviceManages and controls connected mobile devices…
copyleft · top 15,000 on PyPI
google-play-scraperScrapes application metadata, ratings, reviews,…
permissive · top 15,000 on PyPI
device-detectorParses user agent strings and client hints to…
unclear · top 15,000 on PyPI
pure-python-adbPure-Python ADB client that communicates with…
permissive · top 15,000 on PyPI
adbutilsadbutils is a Python library that communicates…
permissive · top 15,000 on PyPI
uiautomator2Automates Android device interactions from…
permissive · top 15,000 on PyPI