Android studio 升级到Android Studio 2.2后,Gradle发出关于工件的警告

Android studio 升级到Android Studio 2.2后,Gradle发出关于工件的警告,android-studio,gradle,warnings,Android Studio,Gradle,Warnings,几天前,我更新了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 有人知道原因吗?最后,我找到了问题所在。这是由AndroidVideoCa

几天前,我更新了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

有人知道原因吗?

最后,我找到了问题所在。这是由AndroidVideoCache库引起的。要解决这个问题,只需替换它(在我的特定情况下):


这里报告了类似的错误重复:是同一个错误吗,@xsveda?这可能对您有帮助:@GabrielMorenoIbarra打印所有依赖项,然后您可以找到,这取决于android;)有许多方法可以查看所有依赖项。很多流行的方法是这样的:
compile 'com.danikula:videocache:2.6.3'
compile('com.danikula:videocache:2.6.3') {
    exclude group: 'com.google.android', module: 'android'
}