implementation('xxx.xxx.xxx') { exclude group: '*******', module: '******' }
找出是哪几个引起的重复,将多余的依赖项填上
{
exclude group: 'xxx.xxx', module: 'abc'
}
第二种方式:强制使用某个版本
configurations.all {
resolutionStrategy {
force 'xxx.xxx:abc'
}
}