-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
🐛 react-native-reanimated build issue #1120
Comments
"react": "18.0.0"
If I uninstall "react-native-reanimated", the build succeeds. Could anybody take a look at this issue, please? Thanks in advance! |
This PR might fix this issue: #1116 |
I have the same problem. It also shows a log with this: > Configure project :react-native-vision-camera
VisionCamera: node_modules/ found at: /Users/danhsucowboy/Documents/DanHsu/BoxInThePARK/CaptureToEarn/capture2earn-dapp-v0/node_modules
VisionCamera: Building with JSC...
Warning: The 'kotlin-android-extensions' Gradle plugin is deprecated. Please use this migration guide (https://goo.gle/kotlin-android-extensions-deprecation) to start working with View Binding (https://developer.android.com/topic/libraries/view-binding) and the 'kotlin-parcelize' plugin.
VisionCamera: Frame Processors are enabled! Building C++ part...
WARNING:DSL element 'dexOptions' is obsolete and should be removed.
It will be removed in version 8.0 of the Android Gradle plugin.
Using it has no effect, and the AndroidGradle plugin optimizes dexing automatically.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
... |
|
Hey! I've rewritten the entire Android codebase of VisionCamera from CameraX to Camera2 in the efforts of ✨ VisionCamera V3. I just now completed the Camera2 rewrite and I believe the core structure is running, but there might be some edge cases to iron out. Can you try and test the PR #1674 for me to see if you can still reproduce this issue here? Here's an instruction on how you can test that: #1674 (comment) If the issue cannot be reproduced with that version/PR anymore, then hoorayy, I fixed it! 🎉 Thank you! |
What were you trying to do?
@mrousavy When I install react-native-vision-camera the application builds correctly. But after installing react-native-reanimated it crashes.
Reproduceable Code
No response
What happened instead?
BUILD FAILED in 28s
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 app:installDebug -PreactNativeDevServerPort=8081
FAILURE: Build failed with an exception.
Where:
Build file '/Users/Documents/app/node_modules/react-native-vision-camera/android/build.gradle' line: 231
What went wrong:
A problem occurred evaluating project ':react-native-vision-camera'.
BUILD FAILED in 28s
info Run CLI with --verbose flag for more details.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! app@0.0.1 android:
react-native run-android
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the app@0.0.1 android script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/praca/.npm/_logs/2022-07-05T
15_05_44_102Z-debug.log
Relevant log output
No response
Device
Android
VisionCamera Version
2.13.5
Additional information
The text was updated successfully, but these errors were encountered: