JSoup And Proguard

07-03-2015

When you use Jsoup library in a Java project or Android project and compile the project with proguard, then we can face NullPointerException. To solve this problem, we sould exclude jsoup public classes and methods from Proguard config file as follows:

-keep public class org.jsoup.** {
    public *;
}

© 2019 All rights reserved. Codesenior.COM