skip to Main Content

After the install of react-native-vision-camera there is this error that shows up. I’ve tried to downgrade the versions but again i can the same error.

Error:
react-native-reanimated:configureCMakeDebug[arm64-v8a] FAILED

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use ‘–warning-mode all’ to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.5.1/userguide/command_line_interface.html#sec:command_line_warnings
76 actionable tasks: 5 executed, 71 up-to-date

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.

  • What went wrong:
    Execution failed for task ‘:react-native-reanimated:configureCMakeDebug[arm64-v8a]’.
[CXX1405] error when building with cmake using node_modulesreact-native-reanimatedandroidCMakeLists.txt: Build command failed.

And these are the versions i use:

"react": "18.1.0",
"react-native": "^0.70.4",
"react-native-reanimated": "^2.10.0",
"react-native-vision-camera": "^2.14.1"

Thanks in advance!

2

Answers


  1. "react-native-vision-camera": "^2.15.2",
    "react-native-reanimated": "^2.12.0",
    

    change your package.json

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search