-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
在lib的java代码中引用Small时,开启代码混淆,编译时产生混淆警告导致编译失败 #158
Comments
插件模块暂不支持混淆 |
3qs! 我想继续研究这个问题,有什么思路上的意见吗?感谢! |
你这个报错是因为混淆的时候没有加入Small的jar包,可能需要在transformClassesAndResourcesWithProguardForRelease做些操作。 但这个解决了还不够,关于插件的混淆讨论见 #85 |
gradle-small:0.9.0 已支持混淆,关闭本问题 |
@galenlin 你好,请问 |
@gordonpro 是的,在那之后的版本都已经支持 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
背景:实际工程中需要在lib的java文件中引用Small的相关类,在lib中开启代码混淆后出现找不到Samll引用。下面是情景还原。
操作:lib.utils/build.gradle 打开代码混淆
修改:UIUtiles.java,引入Small.getContext()
结果:提示需要修复此处warning才能继续
问题:为何会出现Small类找不到的情况,求助!
完整的日志
The text was updated successfully, but these errors were encountered: