【问题标题】:react-native-code-push:compiledebugjavawithjavac failed with react-native 0.66.4react-native-code-push:compiledebugjavawithjavac 使用 react-native 0.66.4 失败
【发布时间】:2022-06-27 14:33:57
【问题描述】:

我创建了两个应用程序,第一个是react-native 0.65.1,第二个是react-native 0.66.4

在将我的应用程序放到 Play 商店之前,我决定集成 react-native-code-push 。一切都适用于第一个应用程序react-native 0.65.1,但是当我按照相同的步骤将code-push 集成到第二个应用程序react-native 0.66.4 中时,运行npx react-native run-android 后出现此错误 错误:

> Task :react-native-code-push:compileDebugJavaWithJavac FAILED

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.

我尝试运行cd android && ./gradlew clean,但它不起作用。

我的两个项目中的code-push版本是:"react-native-code-push": "^7.0.4"

【问题讨论】:

    标签: android react-native code-push


    【解决方案1】:

    根据documentation 到目前为止,他们不支持 react-native 0.66.x

    【讨论】:

      猜你喜欢
      • 2019-10-31
      • 2020-06-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-10-27
      • 1970-01-01
      • 2021-01-05
      • 1970-01-01
      相关资源
      最近更新 更多