ybq / Android-SpinKit

Android loading animations

Home Page:https://ybq.github.io/Android-SpinKit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error: more than one library with package name 'android.support.graphics.drawable'

panda8z opened this issue · comments

when I use the dependence like this:

 ext {
        buildToolsVersion = "28.0.3"
        minSdkVersion = 16
        compileSdkVersion = 28
        targetSdkVersion = 27
        supportLibVersion = "28.0.0"
    }

the project can`t build success.

here is the error from logcat

:app:processDebugResources FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:processDebugResources'.
> Error: more than one library with package name 'android.support.graphics.drawable'

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 1.954 secs

This is probably because this uses a 2.x version of com.android.tools.build:gradle rather than 3.x https://stackoverflow.com/questions/51024717/error-more-than-one-library-with-package-name-android-support-graphics-drawabl