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

build failed due to missing project #60

Open
Yaniv5001 opened this issue Jul 14, 2021 · 0 comments
Open

build failed due to missing project #60

Yaniv5001 opened this issue Jul 14, 2021 · 0 comments

Comments

@Yaniv5001
Copy link

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?

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

No branches or pull requests

1 participant