小编pet*_*iop的帖子

如何解决“但是我们无法在 org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.10 的以下变体之间进行选择”的问题

我有一个旧的反应原生项目,我正在尝试运行。当我安装了节点模块并现在在模拟器上运行应用程序时,我收到以下错误

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
> Could not resolve all dependencies for configuration ':app:debugCompileClasspath'.      
   > A problem occurred configuring project ':react-native-async-storage_async-storage'.  
      > Could not resolve all artifacts for configuration ':react-native-async-storage_async-storage:classpath'.
         > Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.10.
           Required by:
               project :react-native-async-storage_async-storage
            > The consumer was configured to find a runtime of a component compatible with Java 11, packaged as a jar, and its dependencies declared externally. However we …
Run Code Online (Sandbox Code Playgroud)

android react-native

6
推荐指数
1
解决办法
1774
查看次数

标签 统计

android ×1

react-native ×1