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

Proguard rules are not defined #71

Open
centsol opened this issue Feb 23, 2019 · 1 comment
Open

Proguard rules are not defined #71

centsol opened this issue Feb 23, 2019 · 1 comment

Comments

@centsol
Copy link

centsol commented Feb 23, 2019

Describe the bug
Can you please let me know what are the pro-guard rules?

To Reproduce
After applying I am getting following crash logs using retrofit
Feb 23, 2019 08:37 AM:RestCaller:java.lang.NoClassDefFoundError: org.jsoup.c.i$b
at org.jsoup.c.f$a.(Unknown Source:372)
at org.jsoup.c.f.(Unknown Source:19)
at org.jsoup.d.m.b(Unknown Source:32)
at org.jsoup.d.m.a(Unknown Source:42)
at org.jsoup.d.b.a(Unknown Source:56)
at org.jsoup.d.g.a(Unknown Source:100)
at org.jsoup.a.a(Unknown Source:58)
at pl.droidsonroids.jspoon.a.a(Unknown Source:58)
at pl.droidsonroids.a.b.a(Unknown Source:17)
at pl.droidsonroids.a.b.convert(Unknown Source:8)
at retrofit2.ServiceMethod.toResponse(Unknown Source:119)
at retrofit2.OkHttpCall.parseResponse(Unknown Source:218)
at retrofit2.OkHttpCall$1.onResponse(Unknown Source:112)
at okhttp3.x$a.c(Unknown Source:141)
at okhttp3.internal.b.run(Unknown Source:32)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
at java.lang.Thread.run(Thread.java:764)
Caused by: java.lang.ExceptionInInitializerError
... 18 more
Caused by: java.lang.IllegalStateException: Could not read resource entities-xhtml.properties. Make sure you copy resources for org.jsoup.c.i
at org.jsoup.c.i.b(Unknown Source:301)
at org.jsoup.c.i.a(Unknown Source:25)
at org.jsoup.c.i$b.(Unknown Source:53)
at org.jsoup.c.i$b.(Unknown Source:34)
... 18 more

@koral--
Copy link
Member

koral-- commented Feb 23, 2019

@centsol could you paste deobfuscated stacktrace?

entities-xhtml.properties should not be needed in the current version: jhy/jsoup@f3035ca#diff-2ae1d9d6a9f9ee450c8a12116dc76658L39
so probably you are using older version of library.

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

2 participants