Attribute "tint" already defined with incompatible format

时间:2017-12-18 06:21:00

标签: android module dependencies build.gradle

While build project it shows an error

Error:(676) Attribute "tint" already defined with incompatible format.
Error:(329) Original attribute defined here.
refering to values.xml file
" declare-styleable name="TintableImageView">attr format="reference|color" name="tint"/>/declare-styleable>" in  "..\app\build\intermediates\res\merged\debug\values\values.xml" location

also in build.gradle showing All com.android.support libraries must use the exact same version specification. Found version 27.0.2, 25.3.1. Examples include com.android.support:animated-vector-deawable:27.0.2 and com.android.support:customtabs:25.3.1

I am including 5 modules in my app as

compile project(path: ':RippleEffectlibrary')
compile project(path: ':crop_lib')
compile project(path: ':rangeseekbar')
compile project(path: ':simple-crop-image-lib')
compile project(path: ':infiniteviewpager')

0 个答案:

没有答案