GRizzi91 / bouquet

PDF reader Android library based on Jetpack Compose
Apache License 2.0
151 stars 32 forks source link

Missing class com.gemalto.jp2.JP2Decoder #27

Closed ian-sayles closed 1 year ago

ian-sayles commented 1 year ago

Since upgrading Android Studio Flamingo | 2022.2.1 Patch 1 from Electric Eel I get the following error when I Generate Signed Android App Bundle:

Missing class com.gemalto.jp2.JP2Decoder (referenced from: android.graphics.Bitmap com.tom_roush.pdfbox.filter.JPXFilter.readJPX(java.io.InputStream, com.tom_roush.pdfbox.filter.DecodeOptions, com.tom_roush.pdfbox.filter.DecodeResult))

Everything is working ok when debug, just when I build for Play Store, as anyone had this issue?

ian-sayles commented 1 year ago

I fixed the issue by adding the following to my pro guard-rules file:

-dontwarn com.gemalto.**

Will close this ticket.