# dodola/HotFix

安卓App热补丁动态修复框架

Repository: https://github.com/dodola/HotFix
Canonical: https://ross.abutalabs.com/products/hotfix
Language: Java
License: MIT
License Family: permissive
Archived: true
Last push: 2017-08-10T11:27:31+00:00

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

## Adoption (not part of the score)
Stars 1726, forks 441 (observed 2026-08-28T04:05:28.173360+00:00)

## What it is
HotFix is an Android hot-patch framework that dynamically fixes bugs in released apps by loading patched dex files through the ClassLoader mechanism. It is based on the QQ Space team's technique and includes the core library, patch generation tooling, and a Gradle task for javassist code injection to avoid pre-verified class errors.

## Use cases
- fix bugs in a released android app without publishing an update
- dynamically patch a broken method in production
- load a dex jar as an over-the-air hotfix patch
- avoid CLASS_ISPREVERIFIED errors when hot-patching android classes
- inject references to classes in another dex during gradle build

## When to choose
- you maintain a legacy Android project on old Gradle versions and need the original QQ-space-style hotfix approach
- you are studying how Android class-loading hot-patching works

## When to avoid
- starting a new project - the repo is deprecated in favor of RocooFix and modern alternatives like Tinker
- you need Gradle 1.3+ / 2.x build compatibility or automated patch packaging
- you need actively maintained, production-supported hotfix tooling

## Facets
- artifact type: library
- maturity: abandoned
- function: developer-tools, build-tool
- domain: mobile-development, android-tools, developer-tools
- platform: jvm
- tags: hotfix, hot-patch, classloader, dex, android, deprecated, javassist, gradle

## Member repositories
- dodola/HotFix (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:28.173360+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-30T03:32:31.646103+00:00, confidence not recorded.
  - readme: https://github.com/dodola/HotFix (fetched 2026-08-28T04:05:28.173360+00:00, sha db72c45f299e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
