bytedance / ByteX

ByteX is a bytecode plugin platform based on Android Gradle Transform API and ASM. 字节码插件开发平台
Apache License 2.0
3.14k stars 463 forks source link

kotlin 有一些代码没有被 shrink-r-plugin 替换掉 #106

Open dingshaoran opened 3 years ago

dingshaoran commented 3 years ago
    classpath "com.bytedance.android.byteX:shrink-r-plugin:0.2.6"
    classpath "com.bytedance.android.byteX:const-inline-plugin:0.2.6"
    classpath "com.bytedance.android.byteX:access-inline-plugin:0.2.6"
    classpath 'com.android.tools.build:gradle:3.4.1'
    classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.10"

sget p1, Lcom/xiaomi/passport/ui/R$id;->passport_country_code_edit_text:I

invoke-virtual {p0, p1}, Lcom/xiaomi/passport/ui/internal/PhAuthFragment;->_$_findCachedViewById(I)Landroid/view/View;

move-result-object p1

move-object v8, p1

check-cast v8, Landroid/widget/EditText;

const-string p1, "passport_country_code_edit_text"

invoke-static {v8, p1}, L_m_j/mwu;->O000000o(Ljava/lang/Object;Ljava/lang/String;)V

const p1, 0x7f0b04ba

invoke-virtual {p0, p1}, Lcom/xiaomi/passport/ui/internal/PhAuthFragment;->_$_findCachedViewById(I)Landroid/view/View;
yangzhiqian commented 3 years ago

这个能确定插件生效吗?没太看懂反馈的问题。或者提供更多的信息。