在Windows上为Android运行项目时出错。一切都很好,但是我安装了react-natigation
和react-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'.
答案 0 :(得分:0)
我解决了我的问题。如果有人需要此,请删除react-navigation
并安装@react-navigation/native