gpt4 book ai didi

android-studio - 更新到Android Studio 2.2后,带有Gradle的关于工件的警告

转载 作者:行者123 更新时间:2023-12-03 18:05:56 27 4
gpt4 key购买 nike

几天前,我已经更新到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库引起的。要解决此问题,只需将其替换(在我的特定情况下):

compile 'com.danikula:videocache:2.6.3'

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

关于android-studio - 更新到Android Studio 2.2后,带有Gradle的关于工件的警告,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39631936/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com