Yesterday it was fine, today it shows this warning when I clean or build the project:
WARNING: Ignoring Android API artifact com.google.android:andr
I solved the problem by updating my version of gradle.
build.gradle (Project)
classpath 'com.android.tools.build:gradle:+'
Usually, java libraries depends on com.google.android:android
if this library will be used in Android project.
Then you can exclude this module from dependencies of target Android project. Like this:
compile ('some.library.that.depends.on.android') {
exclude group: 'com.google.android'
}