相关疑难解决方法(0)

消费者被配置为查找与 Java 11 兼容的库的运行时,打包为 jar,及其在外部声明的依赖项,但是:

在升级应用程序使用的本机java库之一后,此错误消息开始阻止构建我的Flutter应用程序:

A problem occurred configuring root project 'android'.
> Could not resolve all artifacts for configuration ':classpath'.
   > Could not resolve androidx.room:room-runtime:2.3.0-rc01.
     Required by:
         project : > no.nordicsemi.android:mesh:3.1.5
      > No matching variant of androidx.room:room-runtime:2.3.0-rc01 was found. The consumer was configured to find a runtime of a library compatible with Java 11, packaged as a jar, and its dependencies declared externally but:
          - Variant 'releaseApiPublication' capability androidx.room:room-runtime:2.3.0-rc01 declares a library, and its dependencies declared externally:
              - Incompatible because …
Run Code Online (Sandbox Code Playgroud)

android-studio build.gradle android-gradle-plugin

13
推荐指数
1
解决办法
3万
查看次数