[英]A problem occurred evaluating project ':react-native-reanimated'
While making build I am getting this issue在进行构建时,我遇到了这个问题
A problem occurred evaluating project ':react-native-reanimated'.
> Task with path ':app:mergeDebugNativeLibs' not found in project ':app'
Package version套餐版本
"react-native-reanimated": "^2.2.2",
yesterday it was running fine and today it is causing the error.昨天它运行良好,今天它导致了错误。 I uninstall and reinstall the package and also link it manually using react-native link react-native-reanimated but still not working.我卸载并重新安装软件包,并使用react-native link react-native-reanimated手动链接它,但仍然无法正常工作。
I had the same problem.我有同样的问题。 The project was working fine before, but after changing my PC and installed the dev env there, android studio gave this error.该项目之前运行良好,但是在更改我的 PC 并在那里安装了 dev env 后,android studio 出现了此错误。 I had the project installed on mac machine, checked the node version of 2 environments.我在mac机器上安装了该项目,检查了2个环境的节点版本。 They were different.他们是不同的。 On windows, node -v
was 16.12.0, on mac, it was 14.8.0在 Windows 上, node -v
是 16.12.0,在 mac 上,它是 14.8.0
So, I uninstalled the current node.js from windows OS, then installed older version of it.所以,我从 Windows 操作系统卸载了当前的 node.js,然后安装了它的旧版本。
After that, did npm install
again, and gradle sync.之后,再次进行npm install
和 gradle sync。 It worked!有效!
Hope this helps your problem.希望这可以帮助您解决问题。
I was using react-native-reanimated
version 2.2.4
and after reading this issue I downgraded to 2.2.0
which was a quick win for my project.我使用的是react-native-reanimated
版本2.2.4
,在阅读此问题后,我降级到2.2.0
,这对我的项目来说是一个快速的胜利。 However a fix for the know issue has apparently been merged here .然而,对已知问题的修复显然已在此处合并。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.