Open stephenZF opened 1 year ago
请详细描述
是com.example.widget.CustomView
没混淆,还是混淆了没有同步到这个xml文件?
首先,xmlclassguard任务是不会检索自定义属性的,但如果某个类被混淆了,是会同步到所有xml文件的。
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: @.***>
看了下代码,确实,只有在xml文件中检索到的类混淆后,才会同步到Xml文件中,目前你只能手动改
这个没事,还得多谢你弄出这个神器
乘风破浪 @.***
------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 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: @.***>
xml 文件夹 下面确实有点问题,我xml 文件夹下面的 小组件里面的 android:configure 属性就还是混淆前的路径,导致我小组件没法用了
app:ViewClass="com.example.widget.CustomView"