Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
shaikhkhamroddin opened this issue Oct 6, 2023 · 3 comments
Open
Labels

Comments

@shaikhkhamroddin
Copy link

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

Plugin with id 'maven' not found.

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
Copy link

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
Copy link

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
Copy link

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:

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

No branches or pull requests

4 participants