Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
stephenZF opened this issue Jul 17, 2023 · 7 comments
Open

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

stephenZF opened this issue Jul 17, 2023 · 7 comments

Comments

@stephenZF
Copy link

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

@liujingxing
Copy link
Owner

请详细描述

@stephenZF
Copy link
Author

image

@liujingxing
Copy link
Owner

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

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

@stephenZF
Copy link
Author

stephenZF commented Jul 18, 2023 via email

@liujingxing
Copy link
Owner

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

@stephenZF
Copy link
Author

stephenZF commented Jul 18, 2023 via email

@IamMusicBoom
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants