首页 > 解决方案 > 无法解决:com.github 受影响的模块

问题描述

我喜欢在我的应用程序中包含一个日历。所以我尝试实现 Roboto 日历视图。实施后:

 dependencies {

    implementation  'com.github.marcohc:robotocalendarview:<release>'

}

和:

allprojects {
repositories {
    google()
    jcenter()
    maven { url "https://jitpack.io" }

}
}

我收到错误:无法解决:com.github 受影响的模块。我做错了什么?

标签: javaandroidlib

解决方案


   implementation  'com.github.marcohc:robotocalendarview:<release>'

这里<release>指的是当前可供下载的最新版本。这是3.6.1。所以像这样改变你的依赖

实施 'com.github.marcohc:robotocalendarview:3.6.1'


推荐阅读