# liujingxing/XmlClassGuard

一个可混淆4大组件，自定义View等任意类的插件，上架Google Play的利器

Repository: https://github.com/liujingxing/XmlClassGuard
Canonical: https://ross.abutalabs.com/products/xmlclassguard
Language: Kotlin
License Family: other
Last push: 2024-06-11T13:27:03+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": 1625, "days_push": 813, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1051, forks 202 (observed 2026-08-28T04:03:23.189377+00:00)

## What it is
A Gradle plugin that obfuscates Android classes referenced in XML files, such as the four major components and custom Views, which ProGuard does not rename. It also changes manifest package names and moves directories, lowering duplicate-package detection rates when publishing to Google Play.

## Use cases
- obfuscate android manifest components and custom views
- avoid google play duplicate app rejection
- rename android package name across project files
- complement proguard obfuscation for xml-referenced classes
- move android source directories and sync references
- add constraint_referenced_ids to resguard whitelists

## When to choose
- publishing an app to Google Play and needing to reduce aab/apk decompilation or duplicate-detection risk
- you need to rename the four major components or custom Views that ProGuard leaves untouched
- you want to bulk-change package names or move directories with automatic reference syncing

## When to avoid
- you only need standard Java/Kotlin code shrinking, which ProGuard/R8 already handles
- you cannot tolerate irreversible local source modifications or lack version control backups
- your project is not an Android Gradle project

## Facets
- artifact type: plugin
- maturity: active
- function: security, build-tool, developer-tools
- domain: android-tools, security, developer-tools
- platform: jvm, cli
- tags: android, obfuscation, gradle-plugin, proguard-complement, google-play, apk, aab, xml

## Member repositories
- liujingxing/XmlClassGuard (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:23.189377+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-30T07:00:09.367408+00:00, confidence not recorded.
  - readme: https://github.com/liujingxing/XmlClassGuard (fetched 2026-08-28T04:03:23.189377+00:00, sha 12352ecec84f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
