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:yfhxjavaAwesomeProject
ode_modules
eact-native-

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:processDebugResources'.
> Failed to create directory 'D:yfhxjavaAwesomeProjectandroidappuildintermediatesincrementalprocessDebugResources'

* 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

原文地址:https://www.cnblogs.com/oldzhang1222/p/13275716.html