I am trying to run my react-native application but whenver i do it crashes and gives me this error:
Could not determine the dependencies of task ':react-native-reanimated:generateJsonModelDebug'.
> CMake '3.18.1' was not found in PATH or by cmake.dir property.
CMake '3.22.4' found in PATH did not match requested version '3.18.1'.
I don't understand what this means, i believe it has something to do with the react-native-reanimated package. this package has many issues and i do not know how to resolve them.
Any help?
I am trying to run my react-native application but whenver i do it crashes and gives me this error:
Could not determine the dependencies of task ':react-native-reanimated:generateJsonModelDebug'.
> CMake '3.18.1' was not found in PATH or by cmake.dir property.
CMake '3.22.4' found in PATH did not match requested version '3.18.1'.
I don't understand what this means, i believe it has something to do with the react-native-reanimated package. this package has many issues and i do not know how to resolve them.
Any help?
Share Improve this question asked Aug 26, 2022 at 18:54 motionless570motionless570 9492 gold badges16 silver badges35 bronze badges 1- I have answered it here - stackoverflow./a/73511473/1427309 – vinayr Commented Aug 27, 2022 at 13:42
2 Answers
Reset to default 3It means you have to update the cmake version and export to your path directory.
- Open Android Studio
- Access SDK MANAGER
- Access tools and found CMake
- Click Show Package details
- Then install the version 3.18.1
If you are using or have upgraded to React Native 0.77.0 then you should go into this /android/app/build/generated/source/buildConfig/debug//your_project_name/codegen
and delete the codegen
folder and try again
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745251340a4618693.html
评论列表(0条)