Open shaikhkhamroddin opened 9 months ago
I am having the same issue. I investigated a bit about it and seems that on Gradle 7 and up maven
plugin was replaced for maven-publish
. I think the repo needs a restructure to support Gradle 7
after change to maven-publish , get different error:
`A problem occurred configuring project ':react-native-tesseract-ocr'.
Resolving dependency configuration 'implementation' is not allowed as it is defined as 'canBeResolved=false'. Instead, a resolvable ('canBeResolved=true') dependency configuration that extends 'implementation' should be resolved.`
Hi any updates on the issues? I changed maven
to maven-publish
but now getting an error
A problem occurred configuring project ':react-native-tesseract-ocr'.
> Configuration with name 'compile' not found. * Try:
@green-mint @rizaru-desu did you get any solution I got the same error
No solution, switched to other library for ocr
Describe the bug Getting below issue while clean and run react native project:
Where: Build file 'C:\May2023\EPFleetApp\node_modules\react-native-tesseract-ocr\android\build.gradle' line: 23
What went wrong: A problem occurred evaluating project ':react-native-tesseract-ocr'.
Dependencies (please complete the following information): "react": "18.1.0", "react-native": "^0.70.2", "react-native-tesseract-ocr": "^2.0.3", To Reproduce Steps to reproduce the behavior:
react-native run-android or ./gradlew clean
Expected behavior run app
Screenshots If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information): emulator