I'm building an android app using iTextg library for creating PDF document. When I run it on my android 5.0 lollipop device, it works just fine. However, when I run it on other device, such as HTC Desire 526G, which has android 4.4.2 kitkat, app crashes at the beginning. It builds just fine, but when I run it, it crashes, with this error:
I'm using 'com.itextpdf:itextg:5.5.9' library and I don't know what I'm doing wrong. The error 'java.lang.NoClassDefFoundError' shows when it crashes, but it doesn't make sense because this error doesn't show when I ignore imported library itextg.