# bytedance/AabResGuard

The tool of obfuscated aab resources.(Android app bundle资源混淆工具)

Repository: https://github.com/bytedance/AabResGuard
Canonical: https://ross.abutalabs.com/products/aabresguard
Language: Java
License: Apache-2.0
License Family: permissive
Topics: aab, resource-obfuscation, android, android-app-bundle
Archived: true
Last push: 2021-11-25T00:59:07+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2473, "days_push": 1743, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1387, forks 211 (observed 2026-08-28T04:04:35.162597+00:00)

## What it is
AabResGuard is a tool from ByteDance's Douyin Android team that obfuscates resources inside Android App Bundle (AAB) files to shrink package size. It works as both a command-line tool and a Gradle plugin, supporting duplicate resource merging, file filtering, whitelisting, and incremental obfuscation via mapping files.

## Use cases
- obfuscate resources in an android app bundle
- reduce aab package size by merging duplicate resources
- filter unnecessary files like native libs from an aab
- incrementally obfuscate aab resources using a mapping file
- remove unused strings from an android bundle
- protect android resource names from reverse engineering

## When to choose
- you ship android app bundles and want smaller download sizes
- you need resource name obfuscation with whitelist control
- you want aab obfuscation integrated into your gradle build

## When to avoid
- you build with APKs instead of AABs (use AndResGuard instead)
- you need actively maintained tooling - the latest release is from 2021
- you target newer bundletool versions that may be incompatible

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: security, build-tool, cli
- domain: mobile-development, android-tools, security, developer-tools
- platform: cli, jvm
- tags: aab, resource-obfuscation, android-app-bundle, gradle-plugin, apk-size-reduction, android

## Member repositories
- bytedance/AabResGuard (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:35.162597+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:39:49.158286+00:00, confidence not recorded.
  - readme: https://github.com/bytedance/AabResGuard (fetched 2026-08-28T04:04:35.162597+00:00, sha 7c4220b01ff3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
