Woonivers / react-native-document-scanner

Document scanner, features live border detection, perspective correction, image filters and more ! 📲📸
MIT License
85 stars 71 forks source link

build failed due to missing project #60

Open Yaniv5001 opened 3 years ago

Yaniv5001 commented 3 years ago
PS C:\Users\Yaniv\Desktop\shell3\easylinks> npx react-native run-android
info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag.
Jetifier found 1046 file(s) to forward-jetify. Using 8 workers...
info JS server already running.
info Installing the app...

> Configure project :react-native-document-scanner
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed in version 5.0 of the Android Gradle plugin.
For more information, see http://d.android.com/r/tools/update-dependency-configurations.html.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings

FAILURE: Build failed with an exception.

* Where:
Build file 'C:\Users\Yaniv\Desktop\shell3\easylinks\node_modules\@woonivers\react-native-document-scanner\android\build.gradle' line: 32

* What went wrong:
A problem occurred evaluating project ':woonivers_react-native-document-scanner'.
> Project with path ':openCVLibrary310' could not be found in project ':woonivers_react-native-document-scanner'.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 4s

error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081

FAILURE: Build failed with an exception.

* Where:
Build file 'C:\Users\Yaniv\Desktop\shell3\easylinks\node_modules\@woonivers\react-native-document-scanner\android\build.gradle' line: 32

* What went wrong:
A problem occurred evaluating project ':woonivers_react-native-document-scanner'.
> Project with path ':openCVLibrary310' could not be found in project ':woonivers_react-native-document-scanner'.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 4s

    at makeError (C:\Users\Yaniv\Desktop\shell3\easylinks\node_modules\execa\index.js:174:9)
    at C:\Users\Yaniv\Desktop\shell3\easylinks\node_modules\execa\index.js:278:16
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async runOnAllDevices (C:\Users\Yaniv\Desktop\shell3\easylinks\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\runOnAllDevices.js:94:5)
    at async Command.handleAction (C:\Users\Yaniv\Desktop\shell3\easylinks\node_modules\react-native\node_modules\@react-native-community\cli\build\index.js:186:9)
info Run CLI with --verbose flag for more details.

any idea as to what could cause this error?