在导入com.facebook.fresco:fresco:0.14.1包的时候,运行程序会出现下面截图的错误,说是V4包冲突:
那这样的问题怎么解决呢?超简单,看下面:
fresco的依赖你要这样写,就可以避免掉V4包的冲突问题了:
fresco的依赖:
compile('com.facebook.fresco:fresco:0.14.1') {
exclude module: 'support-v4'
exclude group: 'com.android.support'
}
解决!