Program type already present: okio.AsyncTimeout$1 Message{kind=ERROR, text=Program type already present: okio.AsyncTimeout$1, sources=[Unknown source file], tool name=Optional.of(D8)}
我的解决方法:
在app中的build.gradle中加入如下代码 configurations {
all*.exclude group: 'com.squareup.okio'
}
就可以编译通过了