Configure project :react-native-mmkv [react-native-mmkv] Thank you for using react-native-mmkv ?? [react-native-mmkv] If you enjoy using react-native-mmkv, please consider sponsoring this project: https://github.com/sponsors/mrousavy 13 actionable tasks: 3 executed, 10 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.
- What went wrong: A problem occurred configuring project ':react-native-reanimated'.
Could not load compiled classes for build file 'C:\Users\rd273\Desktop\dfc-mobile-app-v2\node_modules\react-native-reanimated\android\build.gradle' from cache.
- 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 2s
error Failed to install the app. Command failed with exit code 1: gradlew.bat app:installDevdebug -PreactNativeDevServerPort=8081 FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring project ':react-native-reanimated'. > Could not load compiled classes for build file 'C:\Users\rd273\Desktop\dfc-mobile-app-v2\node_modules\react-native-reanimated\android\build.gradle' from cache. * 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 2s.
info Run CLI with --verbose flag for more details.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
What I tried :-
I tried to clean all the caches and node_modules then tried to build but it is failing to build, even the gradlew clean is also failing to build. The app was running before successfully but after pushing my changes I pulled changes from main branch and it had some changes for shifting to previous version(from 8.10 to 8.7) for gradle as latest one was causing some issues in our App, then it started failing to build!