React Native-Gradle不推荐使用的功能

时间:2020-05-09 01:13:20

标签: android windows react-native gradle

在React Native中启动项目时,我得到:

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

(我开始突然发现这个问题,并且所有旧的和新的RN项目都停止打开。我尝试重新安装RN环境,但仍然得到了这个。现在我认为问题出在gradle上,因为那是唯一的问题错误消息。)

因此,我寻找了运行gradle help --scan来查找已弃用的东西并得到:

This will fail with an error in Gradle 7.0.
1 usage

Unknown:
DeprecateUndefinedBuildWorkExecutor.java:37
at org.gradle.execution.DeprecateUndefinedBuildWorkExecutor.execute(DeprecateUndefinedBuildWorkExecutor.java:37)
•••

现在,我不知道如何解决这个问题,“过高”。 我在Windows 10上。 请帮忙。我已经尝试解决了近一个月的时间,但是我无法使用React Native

0 个答案:

没有答案