![](/img/trans.png)
[英]Execution failed for task ':app:processDebugResources' - React Native
[英]Execution failed for task ':app:processDebugResources'. react-native
在 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'.
我解決了我的問題。 如果有人需要這個,刪除react-navigation
並安裝@react-navigation/native
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.