Project 'react-native-reanimated' not found in root project

Issue

In my react native project I don’t have "react-native-reanimated" but when I rebuilt my project I got this error:
"Project "react-native-reanimated" was not found in the root project

So when I install ‍react-native-reanimated‍ I get an NDK install error, but when I install the ndk and get the apk from the project, the app won’t open and crashes.

So I uninstalled react-native-reanimated and ndk and cmake but again I got the error "project 'react-native-reanimated' was not found in the root project"

please help me

Android Studio Error Message Picture

Solution

Possible gradle related issue – try out the solutions in this post:
Android: Project 'MyProject' not found in root project 'MyProject'

But basically, delete the .gradle folder in your project’s root folder and resync gradle from Android Studio.

Answered By – limco

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published