React native 啟動報錯Execution failed for task ':app:processDebugResources'.


------------恢復內容開始------------

報錯如下

> Task :app:processDebugResources FAILED

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.   
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.0.1/userguide/command_line_interface.html#sec:command_line_warnings
20 actionable tasks: 6 executed, 14 up-to-date
ע: D:\yfhx\java\AwesomeProject\node_modules\react-native-

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:processDebugResources'.
> Failed to create directory 'D:\yfhx\java\AwesomeProject\android\app\build\intermediates\incremental\processDebugResources'

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get 
more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

解決辦法

 

 

cd 項目目錄下的Android 

執行 gradlew clean


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM