Shadow
Shadow copied to clipboard
死循环问题
在InstrumentationTransform中,原生的Instrumentation被替换成ShadowInstrumentation,runtime库中的ShadowInstrumentation类的父类被替换成自己。

导致在FragmentSupportTransform中调用isClassOf进入死循环的问题:

ShadowInstrumentation是否需要在Transform的时候进行豁免?
runtime模块正常不应该被打包到插件apk中,因此不应该被transform修改。建议先看下sample的打包情况,对比下你的工程。
插件中错误的使用了pluginImplementation,应该用pluginCompileOnly代替,感谢