依赖冲突
GSON库冲突
解决方案:通过configurations方式
- 在configurations中,统一指定要配置的方式
- 配置简单,较为整洁
configurations {
all*.exclude group: 'com.google.code.gson'
}
其他解决方案: https://blog.csdn.net/jdsjlzx/article/details/97940958/
解决方案:通过configurations方式
configurations {
all*.exclude group: 'com.google.code.gson'
}
其他解决方案: https://blog.csdn.net/jdsjlzx/article/details/97940958/