美文网首页
is greater than this module's co

is greater than this module's co

作者: 钱先生的瞎比比 | 来源:发表于2021-07-01 17:38 被阅读0次

    可能因为很多aar引用没有指定固定版本,从而不断拉取最新版本aar 

    先在studio terminal 执行 gradlew :app:dependencies   –configuration compile  查看aar依赖关系

    找到报错的aar后 在主模块的build.gradle文件的 dependencies标签里面指定统一版本 

    //在此强制指定全局aar版本

    configurations.all{

        resolutionStrategy.force'androidx.core:core-ktx:1.3.0'

    }

    相关文章

      网友评论

          本文标题:is greater than this module's co

          本文链接:https://www.haomeiwen.com/subject/dktsultx.html