【问题标题】:Failed to resolve: com.github Affected Modules无法解决:com.github 受影响的模块
【发布时间】:2019-02-15 07:10:29
【问题描述】:

我喜欢在我的应用中加入日历。所以我尝试实现 Roboto 日历视图。实施后:

 dependencies {

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

}

还有:

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

}
}

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

【问题讨论】:

  • 将实施 'com.github.marcohc:robotocalendarview:' 更改为实施 'com.github.marcohc:robotocalendarview:3.6.1' 并重试。

标签: java android lib


【解决方案1】:
   implementation  'com.github.marcohc:robotocalendarview:<release>'

这里的&lt;release&gt; 表示当前可以下载的最新版本。这是 3.6.1 。所以像这样改变你的依赖关系

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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2020-09-30
    • 1970-01-01
    • 2020-01-31
    • 1970-01-01
    • 2021-10-26
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多