Skip to content
This repository has been archived by the owner on Nov 20, 2019. It is now read-only.

Add Proguard for Tesseract OCR library com.rmtheis:tess-two:9.0.0 #170

Open
Amrutha-shet opened this issue Jan 23, 2019 · 2 comments
Open

Comments

@Amrutha-shet
Copy link

No description provided.

@Amrutha-shet Amrutha-shet changed the title Add Proguard for Tesseract OCR library Add Proguard for Tesseract OCR library com.rmtheis:tess-two:9.0.0 Jan 23, 2019
@Amrutha-shet
Copy link
Author

I added the library as dependency in build.gradle with minifyenabled = true. The app is crashing for release version. Could you please let me know how to add a proguard file separately for this library.

@ralexey
Copy link

ralexey commented Oct 9, 2019

@Amrutha-shet
add
-keepdirectories lib
to the proguard-rules.pro solved the issue

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants