我们使用 lib 文件夹中的 kiteconnect.jar 文件进行套接字连接。现在我在应用程序中集成 Instamojo 支付网关,但在运行应用程序时出现此错误 程序类型已经存在:okhttp3.Authenticator$1 Message{kind=ERROR, text=程序类型已经存在:okhttp3.Authenticator$1, sources=[Unknown source file], tool name=Optional.of(D8)}
解压kiteconnect.jar文件后,在里面找到了okhttp3接口(interface)。 现在我不知道该如何处理。 请帮帮我
最佳答案
要解决依赖冲突,添加一个配置。
configurations {
all*.exclude group: 'com.squareup.okhttp3', module: 'okhttp'
}
关于android - 程序类型已经存在 : okhttp3. Authenticator$1,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50961995/