I updated my dex classes with amigo library (it\'s changing one apk for another apk with the same key and signature, all is working except JSOUP)
Error:
I saw something similar and my solution is in proguard
-keep class org.jsoup.**
Update the library, use this one :
implementation 'org.jsoup:jsoup:1.13.1'
Your problem will be resolved...
in my case, my problem is solved by turning minifyEnabled to false in the app's build.gradle, this will keep all classes in the final release apk.
android {
....
buildTypes {
...
release {
minifyEnabled false
}
}
}
add Jsoup library in libs folder and add -keep class org.jsoup.** in your proguard-rules.pro file.
Then it will work.