【问题标题】:Warnings with Gradle about artifacts after update to Android Studio 2.2更新到 Android Studio 2.2 后,Gradle 关于工件的警告
【发布时间】:2017-01-30 14:41:21
【问题描述】:

几天前我已经更新到 Android Studio 2.2。在此之后,我的项目中出现了一些警告:

Warning:Ignoring Android API artifact com.google.android:android:1.6_r2 for debug
Warning:Ignoring Android API artifact com.google.android:android:1.6_r2 for release

有人知道原因吗?

【问题讨论】:

标签: android-studio gradle warnings


【解决方案1】:

最后,我发现了问题所在。它是由 AndroidVideoCache 库引起的。要解决它,只需替换它(在我的具体情况下):

compile 'com.danikula:videocache:2.6.3'

通过

compile('com.danikula:videocache:2.6.3') {
    exclude group: 'com.google.android', module: 'android'
}

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2013-04-07
    • 2022-06-22
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-01-25
    • 1970-01-01
    相关资源
    最近更新 更多