# Leifzhang/AndroidAutoTrack

Android Asm 插桩 教学

Repository: https://github.com/Leifzhang/AndroidAutoTrack
Canonical: https://ross.abutalabs.com/products/androidautotrack
Language: Kotlin
License Family: other
Topics: android, tracker, asm, gradle-plugin, gradle, kotlin
Last push: 2022-09-13T04:12:35+00:00

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

## Adoption (not part of the score)
Stars 1055, forks 148 (observed 2026-08-28T04:03:24.342351+00:00)

## What it is
An educational Android project demonstrating bytecode instrumentation with ASM and Gradle plugin development, including a demo of seamless (traceless) analytics event tracking. It abstracts the Android Transform API with incremental compilation support and shows how to compose multiple plugins via ServiceLoader.

## Use cases
- learn how to write Android Gradle plugins with ASM bytecode instrumentation
- implement automatic click tracking without modifying app source code
- add double-tap protection to click listeners via bytecode weaving
- understand Android Transform API and incremental compilation
- compose multiple Gradle plugins into one using auto-service
- replace thread pool constructors at bytecode level
- study plugin dependency ordering with topological sorting

## When to choose
- you want a hands-on tutorial for ASM-based Android bytecode manipulation
- you need a reference implementation for traceless analytics tracking on Android
- you are learning Gradle plugin development with compose-build debugging

## When to avoid
- you need a production-ready, maintained analytics SDK
- you target the latest Android Gradle Plugin versions, since the Transform API is deprecated
- you require a licensed, commercially supported library

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: build-tool, developer-tools, compiler
- domain: android-tools, developer-tools, tutorials
- platform: jvm
- tags: android, asm, bytecode-instrumentation, gradle-plugin, auto-tracking, analytics, education, kotlin, automation, gradle

## Member repositories
- Leifzhang/AndroidAutoTrack (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:24.342351+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-30T06:58:28.030985+00:00, confidence not recorded.
  - readme: https://github.com/Leifzhang/AndroidAutoTrack (fetched 2026-08-28T04:03:24.342351+00:00, sha 8fceb2bd9f8f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
