【发布时间】:2021-08-17 14:06:48
【问题描述】:
当我创建一个新的 react-native 应用程序时,首先我使用 android studio 构建 gradle。在我运行这个命令后:react-native run-android 当然我得到一个错误:Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
显然,这是一个反应原生的博格......
因此,在我的 gradle.wrapper.porperties 文件中,我将 gradle 版本更改为 7。
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0-all.zip
你猜怎么着?我收到了这个错误:Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0
我该如何解决这个问题?
【问题讨论】:
标签: android reactjs react-native gradle