Tag

Transform API

0 views collected around this technical thread.

Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jul 24, 2024 · Mobile Development

Practical Lessons from Upgrading a Large Android Codebase to AGP 8.2.2

This article details a three‑month, multi‑step migration of a large Android monorepo from AGP 7.2.2 to 8.2.2, covering Transform API deprecation, namespace handling, Gradle and JDK upgrades, build‑feature toggles, third‑party library adaptations, performance optimizations, and the troubleshooting of numerous compilation pitfalls.

AGPAndroidGradle
0 likes · 18 min read
Practical Lessons from Upgrading a Large Android Codebase to AGP 8.2.2
HomeTech
HomeTech
Sep 26, 2022 · Mobile Development

Implementing Full Data Collection on Android Using Gradle Plugin, Transform API, and ASM

This article explains how to build a full‑tracking solution for Android by creating a Gradle plugin that registers a Transform, leveraging the Transform API and ASM bytecode instrumentation to automatically inject analytics code into click events and lifecycle callbacks, while covering the underlying concepts, implementation steps, and deployment process.

ASMAndroidGradle Plugin
0 likes · 35 min read
Implementing Full Data Collection on Android Using Gradle Plugin, Transform API, and ASM
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jul 2, 2022 · Mobile Development

Migrating from the Deprecated Transform API to AsmClassVisitorFactory in Android Gradle Plugin 7.x

This article explains why the Transform API is deprecated in AGP 7.0, introduces the new AsmClassVisitorFactory‑based API, compares code examples, discusses performance benefits and drawbacks, and provides guidance for migrating Android Gradle plugins to the newer variant and artifact system.

AndroidAsmClassVisitorFactoryGradle
0 likes · 17 min read
Migrating from the Deprecated Transform API to AsmClassVisitorFactory in Android Gradle Plugin 7.x
vivo Internet Technology
vivo Internet Technology
Jul 29, 2019 · Mobile Development

ARetrofit: Android Component Communication Routing Framework

ARetrofit is an Android routing framework that enables concise, component‑to‑component communication by generating compile‑time route metadata via annotation processing, injecting bytecode with the Transform API, creating service proxies through dynamic proxies, and applying an OkHttp‑style interceptor chain for flexible, cross‑module extensions.

AOPAndroidAnnotation Processor
0 likes · 13 min read
ARetrofit: Android Component Communication Routing Framework