因为需要写日志到sdcard上,所以用了网上的方法slf4j+Tony19的logback,添加依赖后运行弹出
Program type already present: org.slf4j.impl.StaticLoggerBinder
Message{kind=ERROR, text=Program type already present: org.slf4j.impl.StaticLoggerBinder, sources=[Unknown source file], tool name=Optional.of(D8)}
原因是依赖冲突,logback和slf4j中都有相同的依赖,而且是AndroidStudio 更新到3.x后才出现的这个问题,请问大佬们怎么解决这个问题