The question is published on by Tutorial Guruji team.
I updated my gradle version to 5.1.1 and suddenly it broke some of my proguard rules (app crashes). An example would be this library that I use: https://github.com/LeonardoCardoso/Android-Link-Preview
I applied the proguard rule:
Which was working before (v4.10.1 and below) but now it broke and it gives this error:
java.lang.IllegalStateException: Could not read resource entities-xhtml.properties. Make sure you copy resources for cMb
My question is, did you add any special rules when you are updating your version to 5.1.1? I know that starting from this version of Android Studio (3.4) it comes with R8 as well.
Was resolved by adding
-keep class org.jsoup.**