monitorthread 基于ASM字节码插桩,实现对线程的监控和分析。 对new Thread进行动态替换 具体使用 apply plugin: 'com.yxy.monitorthread' classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1' classpath 'com.github.flyingbrave.monitorthread:monitorplugin:1.2.8' implementation 'com.github.flyingbrave.monitorthread:monitormodel:1.2.8' 掘金地址:https://juejin.cn/post/7038823893733212168/