aapt_dart 1.0.0
aapt_dart: ^1.0.0 copied to clipboard
A pure Dart library for extracting APK information using AAPT (Android Asset Packaging Tool). Extract package details, permissions, activities, and more from APK files.
1.0.0 #
- 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