donglua / PhotoPicker

[DEPRECATED] Image Picker like Wechat
https://play.google.com/store/apps/details?id=me.iwf.PhotoPickerDemo
Apache License 2.0
2.83k stars 683 forks source link

和constraint-layout冲突 #254

Open aotian16 opened 6 years ago

aotian16 commented 6 years ago

依赖

compile 'com.android.support.constraint:constraint-layout:1.1.0'
compile 'me.iwf.photopicker:PhotoPicker:0.9.12@aar'

提示信息

error: duplicate value for resource 'attr/content' with config ''.
Message{kind=ERROR, text=error: duplicate value for resource 'attr/content' with config ''., sources=[/Users/xxx/.gradle/caches/transforms-1/files-1.1/PhotoPicker-0.9.12.aar/3aa474c33abe32ed6a635372c46a07b5/res/values/values.xml:12:5-58], original message=, tool name=Optional.of(AAPT)}

error: resource previously defined here.
Message{kind=ERROR, text=error: resource previously defined here., sources=[/Users/xxx/.gradle/caches/transforms-1/files-1.1/constraint-layout-1.1.0.aar/e30d3114d176bde58b6df38fdf224fc8/res/values/values.xml:15:5-46], original message=, tool name=Optional.of(AAPT)}
xueweipeng commented 6 years ago

i got the same messages,how to deal with it?

aotian16 commented 6 years ago

我是回退到1.0.2去了,准备换个类库,知乎的那个貌似不错