jonathanpalma / react-native-tesseract-ocr

Tesseract OCR wrapper for React Native
MIT License
558 stars 172 forks source link

java.io.IOException: Could not create directory #134

Closed zineKaushal closed 2 years ago

zineKaushal commented 2 years ago

'react-native-tesseract-ocr' this library working fine in emulator but not working in phone (apk)

HipppB commented 2 years ago

This is due to a change in android API, you must be using a different android version on your simulator and on your phone You can check the fix I found just here https://github.com/jonathanpalma/react-native-tesseract-ocr/pull/127 It's only one line to change in the code.

Hope it helps

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.