Rubesh
Rubesh

Reputation: 31

Configure project :react-native-reanimated

Configure project :react-native-reanimated


FAILURE: Build failed with an exception.

Could not get unknown property 'rnMinorVersion' for project ':react-native-reanimated' of type org.gradle.api.Project.

BUILD FAILED in 14s

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.

Could not get unknown property 'rnMinorVersion' for project ':react-native-reanimated' of type org.gradle.api.Project.

BUILD FAILED in 14s

at makeError (D:\Projects\Vow\iye_react_native_user_app\node_modules\execa\index.js:174:9)
at D:\Projects\Vow\iye_react_native_user_app\node_modules\execa\index.js:278:16
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async runOnAllDevices (D:\Projects\Vow\iye_react_native_user_app\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\runOnAllDevices.js:109:5)
at async Command.handleAction (D:\Projects\Vow\iye_react_native_user_app\node_modules\react-native\node_modules\@react-native-community\cli\build\index.js:192:9)

info Run CLI with --verbose flag for more details.

Upvotes: 3

Views: 23895

Answers (4)

Manuel Njiakim
Manuel Njiakim

Reputation: 119

Rename $minor to $rnMinorVersionCopy in the android/build.gradle file of react-native-reanimated folder in node_modules. That is my solution for now until they update the library with a fix.

Upvotes: 1

Anshif yaseen
Anshif yaseen

Reputation: 79

Please update your package

Follow these steps

  • npm i react-native-reanimated
  • go to your project folder and cd android -> ./gradlew clean ->
  • Run Your project npm start --reset-cache
  • npx react-native run-android

Upvotes: 0

Install version 2.9.0 or above to fixed this issue: "react-native-reanimated": "^2.9.1"

Upvotes: 2

Venky
Venky

Reputation: 2057

Check this thread https://github.com/software-mansion/react-native-reanimated/issues/3319 It's already been reported

Upvotes: 0

Related Questions