Closed
Description
What were you trying to do?
Hello,
I am trying to build my application for android.
On iOS, it builds well and launches.
I use react-native-reanimated
: 2.14.1
.
I get these warings and errors on the android build :
> Configure project :react-native-vision-camera
VisionCamera: node_modules/ found at: /Users/***/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.
FAILURE: Build failed with an exception.
* Where:
Build file '/Users/***/node_modules/react-native-vision-camera/android/build.gradle' line: 279
* What went wrong:
A problem occurred evaluating project ':react-native-vision-camera'.
> Expected directory '/Users/***/node_modules/react-native/android' to contain exactly one file, however, it contains no files.
Any idea if vision-camera is ready for react-native 0.71?
Thank you for your work!
Reproduceable Code
No response
What happened instead?
I get a gradle build error.
Relevant log output
No response
Device
Any
VisionCamera Version
^2.15.2
Additional information
- I am using Expo
- I have read the Troubleshooting Guide
- I agree to follow this project's Code of Conduct
- I searched for similar issues in this repository and found none.