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

Could not resolve project :react-native-zxing #8

Open
ZeroByter opened this issue Dec 2, 2021 · 0 comments
Open

Could not resolve project :react-native-zxing #8

ZeroByter opened this issue Dec 2, 2021 · 0 comments

Comments

@ZeroByter
Copy link

Hello, when I try to install this package and compile for android, I get this strange error.

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.

* What went wrong:
Could not determine the dependencies of task ':app:preDebugBuild'.
> Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'.
   > Could not resolve project :react-native-zxing.
     Required by:
         project :app
      > Unable to find a matching configuration of project :react-native-zxing: None of the consumable configurations have attributes.

I double checked to make sure that I followed every fix-step possible, such as downgrading the gradle version and yes, I have the missingDimensionStrategy "react-native-camera", "general".

How can I fix this? I am using gradle v4.10.1 (previously used 7.1.1) and react-native-zxing version 1.0.11.

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