Tag

reference detection

1 views collected around this technical thread.

vivo Internet Technology
vivo Internet Technology
Dec 1, 2021 · Mobile Development

Bytecode and Reference Detection for Android Apps: Principles, Implementation, and Gradle Plugin

The article explains how bytecode‑level reference detection—implemented via a custom Gradle plugin that uses JavaAssist or ASM to scan compiled .class files for missing or inaccessible methods, fields, and classes—can automatically catch runtime‑crash‑inducing errors in large modular Android projects, offering configurable strict or warning modes to enhance build safety.

AndroidGradle PluginJavaassist
0 likes · 18 min read
Bytecode and Reference Detection for Android Apps: Principles, Implementation, and Gradle Plugin