# shwenzhang/AndResGuard

proguard resource for Android  by wechat team

Repository: https://github.com/shwenzhang/AndResGuard
Canonical: https://ross.abutalabs.com/products/andresguard
Language: Java
License: Apache-2.0
License Family: permissive
Last push: 2023-10-20T04:14:07+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3979, "days_push": 1048, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 8645, forks 1549 (observed 2026-08-28T04:10:23.975816+00:00)

## What it is
AndResGuard is a tool from the WeChat team that obfuscates and shrinks Android APK resources, working like ProGuard but for resource files (renaming res paths and files). It repackages APKs with 7zip for further size reduction and requires no source code, operating directly on the APK.

## Use cases
- shrink android apk size
- obfuscate android resource names to prevent apktool reverse engineering
- repackage apk with 7zip compression
- reduce resources.arsc size in android builds
- protect android app resources from being reversed

## When to choose
- you need to reduce APK size by shortening resource paths and recompressing
- you want to obfuscate Android resources against reverse engineering tools like Apktool
- you want a Gradle-integrated resource shrinking step in your Android build

## When to avoid
- you need to obfuscate Java/Kotlin code rather than resources (use ProGuard/R8)
- your app relies on resource names at runtime via reflection or third-party SDKs not whitelisted
- you target Android App Bundles (AAB) distribution where APK-level repackaging doesn't apply

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: security, compression, build-tool, cli
- domain: mobile-development, security, developer-tools
- platform: cli, cross-platform, jvm
- tags: android, apk-optimization, resource-obfuscation, gradle-plugin, apk-shrinking, reverse-engineering-protection

## Member repositories
- shwenzhang/AndResGuard (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:23.975816+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-29T17:25:44.661853+00:00, confidence not recorded.
  - readme: https://github.com/shwenzhang/AndResGuard (fetched 2026-08-28T04:10:23.975816+00:00, sha 50b40cf7cb41)
- Data as of 2026-08-30T08:39:29.467469+00:00.
