-
Notifications
You must be signed in to change notification settings - Fork 18
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
Run time Error gradle minifyEnabled true #7
Comments
Can't say it's come up before - I'll put it on the TODO list, but for now maybe just try retrofit's list applied to the icesoap package? Something like:
|
Hi Mate, Thanks for the quick answer. Well, first when I do the minifyEnable true, I have to keep this classes in order to compile: -keep class org.dom4j.* { ; } because if I dont do, when minify it says it will lose references. No I have add what you said in the last post, and it looks better, but I get this execption
Is it possible that you use reflection in the library and the gradle minify just takes out some classes that you need? Thanks a lot |
Hi, I made it work, but I had to add a lot of things, I think I am doing something wrong. For the proguard rules I added `-dontwarn com.alexgilleran.icesoap.** -keep class org.dom4j.* { ; } -keep class org.jdom.* { ; } -keep class nu.xom.* { ; } -keep class org.w3c.dom.** { ; } -keep class org.jaxen.saxpath.base.** { ; } Maybe I can take out some of the keepattributes, but the keep I think thery are needed. |
Yeah you'll probably need at least the I'm pretty sure the |
Hi mate,
Thanks a lot for the lib, is great and pretty simple. I love it. But I am finding a problem that i am not sure how to solve.
When I build my app with gradle "minifyEnabled true" it's fine, but when I use your lib, the app freezes in runtime when I call in the code
requestFactory.buildListRequest
from the classRequestFactoryImpl
When working with retrofit or many other libraries, their documentation comes with information on how to set up the proguard-rules file with their lib.
Do you have any info on this? If I build my app with minifyEnabled true and debuggable true, but of course, no obfuscation is taking place
The text was updated successfully, but these errors were encountered: