# CtripMobile/DynamicAPK

Solution to implement multi apk dynamic loading and hot fixing for Android App. (实现Android App多apk插件化和动态加载，支持资源分包和热修复)

Repository: https://github.com/CtripMobile/DynamicAPK
Canonical: https://ross.abutalabs.com/products/dynamicapk
Language: C++
License: MIT
License Family: permissive
Last push: 2023-07-13T22:16:36+00:00

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

## Adoption (not part of the score)
Stars 3025, forks 868 (observed 2026-08-28T04:07:38.655750+00:00)

## What it is
DynamicAPK is a Ctrip framework for Android that enables multi-APK/dex dynamic loading, on-demand module loading, and hot fixing of code and resources. It uses a modified aapt so plugins require no activity/fragment proxies, letting teams keep a normal Android development paradigm.

## Use cases
- hot fix online bugs in an android app without releasing a new version
- load rarely used app modules on demand
- split a large android app into parallel-developed sub-project modules
- speed up android app boot time by deferring dex loading
- dynamically load code and resources in android plugins

## When to choose
- you maintain a large Android app that needs plugin-based parallel development
- you need hot fixes for both code and resources in production
- you want dynamic loading without rewriting activities to use proxy classes

## When to avoid
- you target modern Android versions where this aging approach may lack compatibility
- you only need simple code hot fixes without resource support
- you want an actively developed solution with recent community activity

## Facets
- artifact type: framework
- maturity: maintenance
- function: plugin-system, developer-tools, build-tool
- domain: mobile-development, android-tools, developer-tools
- platform: cpp
- tags: android-plugin-framework, hot-fix, dynamic-loading, multi-apk, resource-splitting, android, mobile

## Member repositories
- CtripMobile/DynamicAPK (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:38.655750+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:29:53.659068+00:00, confidence not recorded.
  - readme: https://github.com/CtripMobile/DynamicAPK (fetched 2026-08-28T04:07:38.655750+00:00, sha 64d5856a1bed)
- Data as of 2026-08-30T08:39:29.467469+00:00.
