aapt_dart
A pure Dart library for extracting APK information using AAPT (Android Asset Packaging Tool). Extract package details, permissions, activities, and more from APK files.
What this package is like to depend on
Last release 4 months ago
25 Apr 2026
Too new to tell
only 2 dated releases
Nearly every release is documented
notes for 2 of 2 stable releases
Nothing withdrawn
no release was ever pulled
6 months old
2 releases · first in 2026
2 releases in the last 12 months
see the full history below
Release timeline
2 releases · Jan 2026 to Apr 2026Releases
latest 2-
1.1.025 Apr 2026Release notes
Open source →New Features
- APK File Inspection: New methods for inspecting APK archive contents without aapt
listApkFiles()— lists all file paths inside an APKextractApkEntry()— extracts a single entry as raw bytes
- Resource Dumping:
dumpResources()— wrapsaapt dump resourcesand returns raw output - Signature Extraction:
getApkSignature()— full certificate extraction pipeline- Detects signing scheme (v1 JAR, v1 + v2/v3)
- Parses issuer, validity dates, algorithm, and key size via OpenSSL
- Computes SHA-256 fingerprint
- Returns
nullfor unsigned APKs
New Model
ApkSignatureInfo— signing certificate details (scheme, sha256, issuer, dates, algorithm, key size)
ApkInfo Extended
compileSdkVersion— compile SDK version (nullable int)receivers— list of broadcast receivers declared in the manifestproviders— list of content providers declared in the manifestlaunchableActivities— all launcher activity names (existinglaunchableActivitykept for compatibility)
- APK File Inspection: New methods for inspecting APK archive contents without aapt
-
1.0.027 Jan 2026Release notes
Open source →- Initial release of aapt_dart package
- AaptClient: Main client for interacting with AAPT executable
- Support for custom AAPT executable path
- Configurable logging with custom logger support
- AAPT version retrieval
- APK Information Extraction: Extract comprehensive APK metadata
- Package name, version code, and version name
- Application label and icon
- SDK version and target SDK version
- Permissions and features
- Activities and services
- Launchable activity
- Native libraries
- Supported locales and screen densities
- Debuggable flag detection
- Models:
ApkInfo: Comprehensive APK information model
- Logging System:
AaptLogger: Abstract logger interfaceDefaultAaptLogger: Default console logger implementation- Support for custom logger implementations
- Exception Handling:
AaptException: Base exception for all AAPT-related errorsAaptNotFoundException: Thrown when AAPT executable is not foundApkNotFoundException: Thrown when APK file is not foundApkParsingException: Thrown when APK parsing fails
- Examples: Comprehensive examples demonstrating all features
- Documentation: Full API documentation and usage examples