简体   繁体   中英

Configure project :react-native-reanimated

Configure project :react-native-reanimated


FAILURE: Build failed with an exception.

  • Where: Build file 'D:\Projects\Vow\iye_react_native_user_app\node_modules\react-native-reanimated\android\build.gradle' line: 152

  • What went wrong: A problem occurred evaluating project ':react-native-reanimated'.

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

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

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.

  • Where: Build file 'D:\Projects\Vow\iye_react_native_user_app\node_modules\react-native-reanimated\android\build.gradle' line: 152

  • What went wrong: A problem occurred evaluating project ':react-native-reanimated'.

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

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

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.

安装 2.9.0 或更高版本以修复此问题:“react-native-reanimated”:“^2.9.1”

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM