# Packer (Android渠道打包工具)

下一代Android打包工具（对Gradle 7.x的支持，欢迎提PR）

Repository: https://github.com/mcxiaoke/packer-ng-plugin
Canonical: https://ross.abutalabs.com/products/packer-android
Homepage: https://github.com/mcxiaoke
Language: Java
License: Apache-2.0
License Family: permissive
Topics: android, gradle, java, apk
Archived: true
Last push: 2022-06-27T13:21:58+00:00
Link (homepage): https://github.com/mcxiaoke

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3935, "days_push": 1528, "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 4795, forks 857 (observed 2026-08-28T04:09:00.056937+00:00)

## What it is
A Gradle plugin for ultra-fast Android multi-channel APK packaging, embedding channel info into APKs signed with APK Signature Scheme v2 so 100 channel builds take ~10 seconds. It includes a helper library for reading the channel at runtime plus command-line packaging scripts.

## Use cases
- generate hundreds of channel-specific Android APKs quickly
- build channel packages for Chinese Android app stores
- read the distribution channel at runtime in an Android app
- integrate fast channel packaging into CI pipelines
- customize output APK file names and output directories per channel

## When to choose
- you need to produce many channel-labeled APKs from one build
- your project uses APK Signature Scheme v2 signing and Gradle 3.x-4.x era Android plugin
- you want CI-friendly, scriptable channel packaging

## When to avoid
- your project uses Gradle 7.x or newer Android Gradle Plugin versions
- you need a actively maintained tool with ongoing support
- you rely on V1 (JAR) signing schemes only

## Facets
- artifact type: plugin
- maturity: abandoned
- function: build-tool, developer-tools, cli
- domain: mobile-development, android-tools, developer-tools
- platform: jvm, cli
- tags: gradle-plugin, apk-packaging, channel-packaging, android-apk, multi-channel-distribution, apk-signature-v2, automation, android

## Member repositories
- mcxiaoke/packer-ng-plugin (main) score 10
- mcxiaoke/gradle-packer-plugin (mirror) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:00.056937+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-29T18:18:39.655922+00:00, confidence not recorded.
  - readme: https://github.com/mcxiaoke/packer-ng-plugin (fetched 2026-08-28T04:09:00.056937+00:00, sha 87c29c02f2a2)
  - homepage: https://github.com/mcxiaoke (fetched 2026-08-29T09:01:42.654757+00:00, sha 239d4bc593bf)
- Data as of 2026-08-30T08:39:29.467469+00:00.
