任务':app:processDebugResources'的执行失败。反应性的

时间:2020-07-10 14:30:17

标签: android react-native

在Windows上为Android运行项目时出错。一切都很好,但是我安装了react-natigationreact-native-gesture-handler@~1.0.14而不是使用react-native run-android命令开始项目。

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:processDebugResources'.
> Could not read path 'D:\ProjectFolder\android\app\build\generated\not_namespaced_r_class_sources\debug\processDebugResources\r\androidx\lifecycle'.

1 个答案:

答案 0 :(得分:0)

我解决了我的问题。如果有人需要此,请删除react-navigation并安装@react-navigation/native