【问题标题】:Build error while compling sugar ORM编译糖 ORM 时生成错误
【发布时间】:2018-05-14 23:05:04
【问题描述】:

我正在尝试将sugar ORM 编译到我的应用程序中。但它显示此构建错误。

无法解决依赖关系 ':app@releaseUnitTest/compileClasspath': 无法解析 com.github.satyan:sugar:1.4.

我该如何解决?我是否错过了要在 gradle 中添加的任何其他内容?

【问题讨论】:

  • 已解决!我将sugar版本改为1.3.1

标签: android-gradle-plugin sugarorm


【解决方案1】:

您需要将应用模块的build.gradle 文件从:

implementation 'com.github.satyan:sugar:1.4'

implementation 'com.github.satyan:sugar:1.5'

注意:您可能改用compile。这是now deprecated

repo's page 上始终可以看到当前版本。

【讨论】:

  • 感谢您的回复。我已经解决了这个问题:)
猜你喜欢
  • 1970-01-01
  • 2017-01-27
  • 1970-01-01
  • 2018-03-10
  • 1970-01-01
  • 2019-08-30
  • 1970-01-01
  • 2016-07-05
  • 2012-03-10
相关资源
最近更新 更多