tianzhilanat2010

Results 3 comments of tianzhilanat2010

我看代码 isPatch变量是通过差分包中添加text.dex (包含TinkerTestDexLoad类并且isPatch为true),然后在加载合成好的包后判断是test.dex插入到tinker_classN.apk中,这样以覆盖基础包中的 TinkerTestDexLoad。但是目前看下来是有问题的,无法确保test.dex中的TinkerTestDexLoad class在base包中的TinkerTestDexLoad前面

我前面是通过自定义一个tinker-android-loader库修复的。 我再试试 allowLoaderInAnyDex=true removeLoaderForAllDex=true

> 如果是minSdkVersion >=21的话可以添加 allowLoaderInAnyDex=true removeLoaderForAllDex=true 这个貌似不行