liujingxing / XmlClassGuard

一个可混淆4大组件,自定义View等任意类的插件,上架Google Play的利器
927 stars 175 forks source link

xml文件下的自定义控件的标签的值不会改变 #48

Open stephenZF opened 1 year ago

stephenZF commented 1 year ago

app:ViewClass="com.example.widget.CustomView"

liujingxing commented 1 year ago

请详细描述

stephenZF commented 1 year ago

image

liujingxing commented 1 year ago

com.example.widget.CustomView没混淆,还是混淆了没有同步到这个xml文件?

首先,xmlclassguard任务是不会检索自定义属性的,但如果某个类被混淆了,是会同步到所有xml文件的。

stephenZF commented 1 year ago

com.example.widget.CustomView这个类有被混淆,但是没同步到xml文件。 期望应该是这个:app:ratingViewClass="kkk.ddd.ccc.DV",不过这种直接在自定义属性传类名,应该没人这样写  

乘风破浪 @.***

 

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2023年7月18日(星期二) 上午10:13 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [liujingxing/XmlClassGuard] xml文件下的自定义控件的标签的值不会改变 (Issue #48)

是com.example.widget.CustomView没混淆,还是混淆了没有同步到这个xml文件?

首先,xmlclassguard任务是不会检索自定义属性的,但如果某个类被混淆了,是会同步到所有xml文件的。

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

liujingxing commented 1 year ago

看了下代码,确实,只有在xml文件中检索到的类混淆后,才会同步到Xml文件中,目前你只能手动改

stephenZF commented 1 year ago

这个没事,还得多谢你弄出这个神器  

乘风破浪 @.***

 

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2023年7月18日(星期二) 上午10:34 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [liujingxing/XmlClassGuard] xml文件下的自定义控件的标签的值不会改变 (Issue #48)

看了下代码,确实,只有在xml文件中检索到的类混淆后,才会同步到Xml文件中,目前你只能手动改

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

IamMusicBoom commented 10 months ago

xml 文件夹 下面确实有点问题,我xml 文件夹下面的 小组件里面的 android:configure 属性就还是混淆前的路径,导致我小组件没法用了