jonathanpalma / react-native-tesseract-ocr

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

My app is closing itself immediately after opening. #140

Closed thasatsaya closed 1 year ago

thasatsaya commented 2 years ago

I have try using this GitHub link but after building and open the app through virtual device on android studio. The app is closing itself.

Procedure I do

1 load zip from GitHub link

  1. Replace android folder with another android folder that locate within example folder
  2. open cmd as admin and cd to github directory use commands npm i react-native-tesseract-ocr --save react-native link react-native-tesseract-ocr npm install && react-native run-android
  3. it shows initialization error at first (Nodejs windows) so I went to edit the line from package.json file in example folder to "start": "SET NODE_OPTIONS=--openssl-legacy-provider && react-scripts start",
  4. Now run no.3 again the build is successful but the app is immediately close after I open it.

Dependencies nodejs (from command node -v) 16.16 from command react-native --version react-native-cli: 2.0.1 react-native: 0.61.5 Virtual device : Pixel 2 API29 If you want some more information please let me know. Thank in advance.

stale[bot] commented 1 year 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.