在组件化项目架构中,出现了这样的一个问题
Duplicate class com.nineoldandroids.animation.Animator found in modules library-2.4.0.jar (com.nineoldandroids:library:2.4.0) and nineoldandroids-2.4.0.jar (nineoldandroids-2.4.0.jar)
解决方式
在冲突模块的gradle 的android 下粘贴:
configurations {
all*.exclude group: 'com.nineoldandroids', module: 'library' //去除重复依赖库
}