Getting error while running latest version of react native in android. #2576
Description
info Installing the app...
8 actionable tasks: 2 executed, 6 up-to-date
info 💡 Tip: Make sure that you have set up your development environment correctly, by running npx react-native doctor. To read more about doctor command visit: https://github.com/react-native-community/cli/blob/main/packages/cli-doctor/README.md#doctor
FAILURE: Build failed with an exception.
-
Where:
Settings file '/Users/kretoss/react-native/JHL1/android/settings.gradle' line: 3 -
What went wrong:
A problem occurred evaluating settings 'android'. -
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 1s
error Failed to install the app. Command failed with exit code 1: ./gradlew app:installDebug -PreactNativeDevServerPort=8081 FAILURE: Build failed with an exception. * Where:
Settings file '/Users/kretoss/react-native/JHL1/android/settings.gradle' line: 3 * What went wrong:
A problem occurred evaluating settings 'android'. * 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 1s.
info Run CLI with --verbose flag for more details.
I am getting this error Pls help me to solve this.
React Native Version: - 0.76.5