jonathanpalma / react-native-tesseract-ocr

Tesseract OCR wrapper for React Native
MIT License
552 stars 171 forks source link

app run or clear getting : Plugin with id 'maven' not found. #160

Open shaikhkhamroddin opened 9 months ago

shaikhkhamroddin commented 9 months ago

Describe the bug Getting below issue while clean and run react native project:

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:

isue

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

SantiagoSouto commented 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

rizaru-desu commented 9 months ago

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.`

green-mint commented 2 months ago

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:
kukadiyaAni commented 1 month ago

@green-mint @rizaru-desu did you get any solution I got the same error

shaikhkhamroddin commented 3 weeks ago

No solution, switched to other library for ocr