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

posted @ 2020-07-09 19:49  TracyRanch  阅读(1641)  评论(0编辑  收藏  举报